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

On MacOS the Compute->Options menu does not appear #528

Open
mleotta opened this issue Sep 9, 2021 · 1 comment
Open

On MacOS the Compute->Options menu does not appear #528

mleotta opened this issue Sep 9, 2021 · 1 comment

Comments

@mleotta
Copy link
Member

mleotta commented Sep 9, 2021

This seem to be due to a Qt behavior where any menu item with the name "Options", "Preferences", "Settings", or "Config" on MacOS is relocated to the special application menu on MacOS. However, in this case the item is a submenu, not an action, so the menu appears to be removed but not relocated.

@mleotta
Copy link
Member Author

mleotta commented Sep 9, 2021

@mwoehlke-kitware do you have any idea how to work around Qt relocating (or dropping) menu items named "Options" on MacOS? The docs suggest setting QAction::menuRole() to override this behavior, but I don't know how to do that here because the item in question is a QMenu, not a QAction, so I can't set the role. It seems like this might be a Qt bug that it is removing QMenu items matching "Options" and not placing them in the application menu.

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

No branches or pull requests

1 participant