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

Line point "Edit line" contextual menu fix. #61

Merged
merged 1 commit into from
Feb 27, 2017

Conversation

rsevero
Copy link
Contributor

@rsevero rsevero commented Feb 25, 2017

Line point "Edit line" contextual menu wasn't working on Linux as discussed here: https://goo.gl/wHvLta

As per documentation -http://www.tcl.tk/man/tcl8.5/TkCmd/menu.htm#M12 - of Tk menu widget's cascade option:

The associated menu must be a child of the menu containing the cascade entry (this is needed in order for menu traversal to work correctly).

This fix consists of stop reusing the "Edit line" menu from the right panel on the contextual menu and start creating a new one just for the contextual menu.

This probably wasn't an issue on Windows and Mac because, as per above documentation also, only Unix depends on Tk posting and unposting support. Windows and Mac have their own methods.

@smudrak smudrak merged commit 686799b into therion:master Feb 27, 2017
@rsevero rsevero deleted the line_point_contextual_menu branch February 27, 2017 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants