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

Control + Click doesn't work in GUI #1163

Closed
chaosphere2112 opened this Issue Mar 25, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@chaosphere2112
Contributor

chaosphere2112 commented Mar 25, 2015

I'm using Control + Click (checking using vtkRenderWindowInteractor.GetControlKey()) in the VCS 2D Interaction stuff to drop new markers / text boxes, and it appears that GetControlKey is never returning True/1 when used in the gui.

@chaosphere2112 chaosphere2112 added this to the 2.2 milestone Mar 25, 2015

@chaosphere2112 chaosphere2112 self-assigned this Mar 25, 2015

@chaosphere2112

This comment has been minimized.

Contributor

chaosphere2112 commented Mar 25, 2015

Looks like this is because for Qt on Mac, control is the "command" button, not the control button. I'm going to add some logic to cover that case a bit better.

@chaosphere2112

This comment has been minimized.

Contributor

chaosphere2112 commented Mar 25, 2015

Left click + control on mac maps to a right click in Qt. Sigh. Ok, just going to add OS specific code in the VCS stuff to mention "Command" if sys.platform == "darwin".

@chaosphere2112 chaosphere2112 added the VCS label Mar 25, 2015

@durack1 durack1 added the Bug label May 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment