View Issue Details

IDProjectCategoryView StatusLast Update
0004138Slicer4Module (Any modules)public2017-07-29 09:46
Reporterpinter Assigned Tolassoan  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.5.0-1 
Target VersionSlicer 4.7.0Fixed in VersionSlicer 4.7.0 
Summary0004138: Transform reparenting in Data module does not work
Description

In most IGT scenarios the transforms are constantly changing. In this case the drag&drop feature for transform reparenting does not work in the Data module: the dropped transform returns to its original place. Using the arrows in the Transforms module works, but the Data module is the most convenient place to manage transform hierarchies, and this bug makes IGT research usage inconvenient.

Steps To Reproduce

See attached DataModuleTransformReparentBug.py file:

  1. Run attached code in Slicer (by e.g. copy-pasting it in the interactor)
  2. Try to drop Transform1 onto Transform2 in the Data module
    Transform1 will return to its original top-level place, no reparenting will be performed.
TagsNo tags attached.

Activities

pinter

pinter

2016-01-26 13:18

developer  

DataModuleTransformReparentBug.py (839 bytes)
lassoan

lassoan

2017-07-26 13:25

developer   ~0014989

Tentative fix is available here:
https://github.com/lassoan/Slicer/tree/4138-fixed-transform-drag-and-drop-while-being-modified

Drag-and-drop is application-specific (works in a special way on Mac), so it should be tested on Max before integrating.

@pinter, could you please test it on Mac?

pinter

pinter

2017-07-26 15:27

developer   ~0014995

I updated and built Slicer on Mac, ran the test script, and was able to drop Transform1 onto Transform2.

lassoan

lassoan

2017-07-29 09:34

developer   ~0015003

Fixed in rev 26186.

Issue History

Date Modified Username Field Change
2016-01-26 13:18 pinter New Issue
2016-01-26 13:19 pinter File Added: DataModuleTransformReparentBug.py
2017-07-26 13:25 lassoan Note Added: 0014989
2017-07-26 13:25 lassoan Assigned To => lassoan
2017-07-26 13:25 lassoan Status new => assigned
2017-07-26 13:25 lassoan Target Version => Slicer 4.7.0
2017-07-26 15:27 pinter Note Added: 0014995
2017-07-29 09:34 lassoan Status assigned => resolved
2017-07-29 09:34 lassoan Resolution open => fixed
2017-07-29 09:34 lassoan Fixed in Version => Slicer 4.7.0
2017-07-29 09:34 lassoan Note Added: 0015003
2017-07-29 09:46 pinter Status resolved => closed