GNOME Bugzilla – Bug 771683
Duplicate menu to set AppMenu to be displayed in the application window
Last modified: 2017-02-02 09:01:25 UTC
Created attachment 335899 [details] App-Menu Description of problem: By activating display the application menu in the application window via dconf-editor or gnome-tweak-tool, this menu is doubled. Version-Release number of selected component (if applicable): Fedora 24 64 bit, Gnome and Budgie Desktop gnome-games nightly flatpak version How reproducible: Always Steps to Reproduce: 1. Enable display application menu in the application windows 2. Open gnome-games 3. Open app menu Actual results: The application menu doubles (see attached) Expected results: Only the application menu is displayed in the header bar Additional info: Using GNOME is an alternative configuration, but using an alternative GNOME-based desktop (eg. Budgie, Unity, Pantheon, etc), this option is essential to access all available options graphically in the application.
Created attachment 336430 [details] weird menu The same problem here. Using: nighly flatpak on fedora 24 XFCE
Can any of you provide a screenshot of the problem so we can have a better idea of it?
Seems like a bug with Gtk. The property "show_menubar" for ApplicationWindow doesn't work when it is in ui file but if set to false in code it hides the menubar.
Just to be sure I understand the problem: - you are using a desktop which is not GNOME so you need the app's menu to be moved to the app's window - you want this menu as a button and not a menubar so it doesn't completely destroy the UI design - you force the menubar to appear - the menu bar appears and so you have two menus Why do you need to force the menubar to appear, do you have the application menu button in the window without enabling it?
Created attachment 344741 [details] [review] ui: Hide menubar when app menu disabled Set 'show-menubar' false in code because xml property isn't working.
Created attachment 344742 [details] [review] ui: Hide menubar when app menu disabled Set 'show-menubar' false in code because xml property isn't working.
Review of attachment 344742 [details] [review]: LGTM.
Attachment 344742 [details] pushed as fa1aa5a - ui: Hide menubar when app menu disabled