This OHIF feature request might be good for slicer too - any thoughts?
Yes, many software makes temporary maximization of a single view easily accessible, and I agree that it would be useful to offer this in Slicer, too.
We can already add a keyboard shortcut to change the layout, but keyboard shortcuts are not easily discoverable. We could add an icon in the view controller, and maybe even associate double-click on an empty region to this function (although we already use double-click on image for resetting window/level in the āAdjust window/levelā mouse mode).
Yes, an icon in the title bar would make sense - something like the fully screen icon in youtube.
We already have an issue to track this: Add shortcut to maximize the current/focus/active view Ā· Issue #1409 Ā· Slicer/Slicer Ā· GitHub
This has now been implemented in the latest Slicer Preview Release.
Is there a way to disable this behavior with Python scripting ect? When I am interacting with 3D view, Slicer picks up my quick rotations as double click and more than once I found myself in an unwanted full screen.
P.S. You can never make everyone happy, right? Iāll probably get used to it but figure Iād ask if there is an easy way. Thanks!
Please see this entry and several more below, they will serve as an example. The way to disable it will be to reroute it to an empty action (WidgetEventNone
)
https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#custom-shortcut-for-moving-crosshair-in-a-slice-view
Update: And the event will be vtk.vtkCommand.LeftButtonDoubleClickEvent