Open mleotta opened 3 years ago
@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.
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.