Skip to content
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
Closed

Control + Click doesn't work in GUI #1163

chaosphere2112 opened this issue Mar 25, 2015 · 2 comments
Assignees
Milestone

Comments

@chaosphere2112
Copy link
Contributor

@chaosphere2112 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
Copy link
Contributor Author

@chaosphere2112 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
Copy link
Contributor Author

@chaosphere2112 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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants