After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770619 - No appmenu shown under certain DEs
No appmenu shown under certain DEs
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: .General
3.20.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-08-30 23:35 UTC by Michael Gratton
Modified: 2017-01-17 17:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gratton 2016-08-30 23:35:57 UTC
We've had a report from a Geary user that they couldn't find any app menu under current XFCE. Their DE isn't displaying an app menu (GtkSettings::gtk-shell-shows-app-menu is false), and they have their CSD window decoration set to not include a menu (GtkSettings::gtk-decoration-layout does not include "menu"), so no app menu is being displayed.

It could be argued that DE authors or users in this case really doesn't want the menu being displayed, however that means such users can't access some pretty essential functionality.

I'm going to add a work around in Geary that in this case forces the app menu to be displayed in the GtkHeaderBar (Bug 770617), but this should probably be addressed at the toolkit level somehow.
Comment 1 Matthias Clasen 2016-09-02 22:22:33 UTC
The way to display the app menu inside the window is to have "menu" somewhere in your decoration layout. I don't think there's anything to do for us here.
Comment 2 Matthias Clasen 2016-09-06 09:27:10 UTC
I would recommend making the xfce team aware that not having "menu" in their decoration layout is a problem.
Comment 3 Olivier Fourdan 2017-01-17 17:17:35 UTC
Just to clarify, actually, the "menu" button is controlled by the window manager settings in xfce's window-manager-setings, even for gtk+ client-side decorations, i.e. xfce settings manager will update the gtk settings so that the buttons in CSD match the button layout set for server-side decorations:

    https://git.xfce.org/xfce/xfce4-settings/commit/?id=6a812b2

So if you set the window menu in xfwm4 settings, it will show in CSD as well.