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 756017 - App menu doesn't honor the Gtk/ShellShowsAppMenu xsetting
App menu doesn't honor the Gtk/ShellShowsAppMenu xsetting
Status: RESOLVED DUPLICATE of bug 745919
Product: gnome-shell
Classification: Core
Component: general
3.16.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-10-03 17:42 UTC by nick pontillo
Modified: 2015-10-06 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nick pontillo 2015-10-03 17:42:57 UTC
In the Gnome Tweak Tool, under the "Top Bar" section, there is an option called "Show Application Menu" and an on/off button next to it. When it is switched to off, there is an application menu in the top left corner of windows, and when the button is switched to on, the application menus disappear.
Comment 1 Andreas Henriksson 2015-10-03 17:49:10 UTC
Downstream bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799102
Comment 2 Matthias Clasen 2015-10-03 22:21:08 UTC
The 'top bar' here is the gnome she'll top bar, not the window titlebar.
Comment 3 nick pontillo 2015-10-04 20:11:45 UTC
The tweak is categorized in the "top bar" section and I understand that that refers to the gnome shell top bar like you say, but nevertheless the actual tweak I'm talking about affects the window titlebars, *not* the gnome shell top bar.

Consider these pictures: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;msg=5;bug=799102;filename=gnome+tweak+tool.png

https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;msg=5;filename=gnome+tweak+tool2.png;bug=799102

As you can see, when the "show menu" option is switched to off, it shows, and when it is switched to on, it does not show.

I've reopened this bug report.
Comment 4 Rui Matos 2015-10-05 11:19:04 UTC
(In reply to nick pontillo from comment #3)
> The tweak is categorized in the "top bar" section and I understand that that
> refers to the gnome shell top bar like you say, but nevertheless the actual
> tweak I'm talking about affects the window titlebars,

Affecting the window titlebars is expected and is working fine. Obviously, if the app menu isn't displayed in gnome-shell's top bar, apps need to show it themselves, that's the whole point.

> *not* the gnome shell top bar.

Now, this is a bug in gnome-shell, it doesn't seem to honor the xsetting at all.
Comment 5 Florian Müllner 2015-10-05 11:23:39 UTC
(In reply to Rui Matos from comment #4)
> Now, this is a bug in gnome-shell, it doesn't seem to honor the xsetting at
> all.

That was intentional at the time. Anyway, bug 745919 has a patch ...

*** This bug has been marked as a duplicate of bug 745919 ***
Comment 6 nick pontillo 2015-10-05 22:15:09 UTC
I don't see how this is a duplicate of bug 745919. That one is about the top panel in gnome classic. This one is *not about the top panel*, neither in gnome classic nor in regular gnome. It affects the menus in window titlebars. 

Please, just look at the pictures.

https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;msg=5;bug=799102;filename=gnome+tweak+tool.png

https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;msg=5;filename=gnome+tweak+tool2.png;bug=799102

I'm not a developer so I'm not sure what is meant by "not honoring Gtk/ShellShowsAppMenu xsetting". But the critical point is: this bug is about menus in titlebars, and it is not "working fine". The on/off button is inverted.
Comment 7 Florian Müllner 2015-10-05 22:22:58 UTC
(In reply to nick pontillo from comment #6)
> I don't see how this is a duplicate of bug 745919. That one is about the top
> panel in gnome classic. This one is *not about the top panel*, neither in
> gnome classic nor in regular gnome. It affects the menus in window
> titlebars. 

The patch in the referenced bug made gnome-shell respect the setting, that means if the switch is *off*, the menu is *not* shown in the shell's top bar. If it is *on*, it is shown in the shell's top bar.

As comment #4 explains, if the shell does not show the menu, apps should show it either in their menubar or in the headerbar - that's why the setting appears to be revered if you only look at the app (and ignore that it's in a section that refers to a global UI element).

*** This bug has been marked as a duplicate of bug 745919 ***
Comment 8 nick pontillo 2015-10-06 15:17:21 UTC
Ok, I understand now, sorry. So the bug, then, is that the menu in the top bar continues to exist no matter what the user selects in the tweak tool?
Comment 9 Rui Matos 2015-10-06 16:00:18 UTC
(In reply to nick pontillo from comment #8)
> Ok, I understand now, sorry. So the bug, then, is that the menu in the top
> bar continues to exist no matter what the user selects in the tweak tool?

Yes, but that's now been fixed in gnome-shell git and should be included in 3.18.1