View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003318 | Slicer4 | Module Markups | public | 2013-08-23 11:40 | 2017-06-07 23:27 |
Reporter | nicole | Assigned To | nicole | ||
Priority | normal | Severity | major | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0003318: Dragging fiducials outside of the 2D viewport drops them | ||||
Description | Restricting the dragging of fiducials to the viewport isn't working properly, it's possible to drag a fiducial out of the viewport and then not be able to interact with it any more. | ||||
Steps To Reproduce | Conventional view In red slice only view, the edge check is working, but the fiducial gets offset from the mouse by approximately how much the mouse moved beyond the viewport. | ||||
Tags | No tags attached. | ||||
Found the logic bug that was causing the fiducial to drop (needed to check two change conditions in the seed widget callback), needs the fix applied in 2d and 3d. Working now on fixing the increasing offset between the mouse location and the fiducial that occurs after trying to drag a fiducial out of the viewport and then moving the mouse back toward the viewport. |
|
Dropping is fixed in svn 22339[1]. After consultation with Alex and Steve, leaving the mouse offset as is, since getting enter/exit events while the mouse button is down (dragging the fiducial) will be complex. The alternate solution involves possibly reimplementing the vtkSeedWidget. In 3D, no check is currently done against the viewport bounds, the 3D viewer allows moving the fiducial out of the view port without getting into a bad interaction state, so leaving it as is. [1]http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22339 |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Slicer: 2145-support-for-installing-extension-from-file eee567c0 2013-08-27 14:43:26 naucoin Details Diff |
BUG: stop the dropping of fiducials dragged outside of 2d viewport Check if the viewport coordinates have been restricted as well as if the display coordinates were changed, as the second check wasn't fine grained enough to detect when a restriction was made on a slow/small drag outside of the viewport. This would lead to the fiducial being dropped when it was outside the viewport. Now the fiducial is stopped at the edge of the 2d viewport. When the mouse comes back toward the view port, there is an offset between the mouse position and the moving fiducial, but barring more user feedback, we decided to leave this as is. Issue 0003318 git-svn-id: http://svn.slicer.org/Slicer4/trunk@22339 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Modules/Loadable/Markups/MRMLDM/vtkMRMLMarkupsDisplayableManager2D.cxx | Diff File | ||
mod - Modules/Loadable/Markups/MRMLDM/vtkMRMLMarkupsDisplayableManager2D.h | Diff File | ||
mod - Modules/Loadable/Markups/MRMLDM/vtkMRMLMarkupsFiducialDisplayableManager2D.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-08-23 11:40 | nicole | New Issue | |
2013-08-23 11:40 | nicole | Status | new => assigned |
2013-08-23 11:40 | nicole | Assigned To | => nicole |
2013-08-27 09:22 | nicole | Note Added: 0009617 | |
2013-08-27 10:46 | nicole | Note Added: 0009618 | |
2013-08-27 10:46 | nicole | Status | assigned => resolved |
2013-08-27 10:46 | nicole | Fixed in Version | => Slicer 4.3.0 |
2013-08-27 10:46 | nicole | Resolution | open => fixed |
2014-03-06 04:56 | jcfr | Note Added: 0010840 | |
2014-03-06 04:57 | jcfr | Status | resolved => closed |
2017-06-07 23:27 | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file eee567c0 |