-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hotkeys not working: Z, PageUp, PageDown, = #1095
Comments
Quick Overview
For example, the
This setup is what allows multiple extensions to register similar commands that can leverage the same hotkeys, but intelligently know when which one should be used. Fix
|
@ladeirarodolfo Please disregard issue #2. The correct hotkey responsible for reset the viewport is |
How would one find out what the command is to enable a tool, like the zoom tool in this case? It seems that "setZoomTool" is not the correct one for the zoom tool. |
We're trying to document the available commands better. The end-goal is to have them listed in the https://github.com/OHIF/Viewers/tree/master/extensions/cornerstone#commands-module Those might be out of date. You can always dig in to the source and see the list of named commands in the extension's command definitions: https://github.com/OHIF/Viewers/blob/master/extensions/cornerstone/src/commandsModule.js#L167-L246 It looks like, at some point, we switched from https://github.com/OHIF/Viewers/blob/master/extensions/cornerstone/src/commandsModule.js#L84-L89 We are more than happy to hear any thoughts you have around improving discovery of commands, or PRs to improve our documentation ^_^ |
@mirnasilva
Fixable issues should be fixed by the PR: #1446 |
Bug Report
Issue 1 - Description:
Hotkeys not working on the Viewer page:
Z
,PageUp
,PageDown
.Steps to Reproduce
Z
,PageUp
,PageDown
Actual Result
Hotkeys
Z
,PageUp
,PageDown
are not working, nothing happens at the viewer page.Expected Result
Z
, the Zoom tool should be activated at the toolbarPageUp
andPageDown
2.1. When user hits hotkey
PageDown
, the next thumbnail series should be loaded in the viewport2.2. When user hits hotkey
PageUp
, the previous thumbnail series should be loaded in the viewportIssue 2 - Description:
When there are multiple viewports, hotkey
=
does not reset theinverted
status of the image in the active viewport.In the gif below, user presses the
=
hotkey to reset all viewports before clicking on theReset
buttonSteps to Reproduce
I
=
Actual Result
Hotkey
=
does not reset theinverted
status of the image. If user clicks on theReset
button, theinverted
image will be reset with success.Expected Result
User should be able to reset the
inverted
image (in the active viewport) by pressing hotkey=
or clicking onReset
button on toolbar.The text was updated successfully, but these errors were encountered: