Could not add global menu in gnome-panel (Ubuntu 19.04)

Bug #1824155 reported by Zippy Zebu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-flashback (Ubuntu)
Fix Released
Undecided
Unassigned
Disco
Won't Fix
Undecided
Unassigned

Bug Description

I just tried beta release. I installed indicator-applet-appmenu add added to panel. But the menu remains in the application itself. I was using mate-terminal.

This has always worked before.

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

This is not an appmenu bug. Gnome flashback session disables showing appmenu in the panel. You need to override gtk-shell-shows-appmenu key. Please change affected project to gnome-flashback.

Zippy Zebu (zippy.zebu)
affects: indicator-appmenu (Ubuntu) → gnome-flashback (Ubuntu)
Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

What is last release it worked? Check org.gnome.gnome-flashback.workarounds fix-app-menu setting...

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Khurshid, what value it must have?

https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/b3354d55de8234dddaa9385b91fd7dd7c3f2301b
GNOME Settings Daemon no longer sets this setting and commit says it is always false now.

https://gitlab.gnome.org/GNOME/gnome-flashback/commit/ef01fa15797e489d3ec38f40940c35551d15c8ed
I have already removed workarounds from gnome-flashback, but this change is not in Ubuntu 19.04.

Does that mean that it must be set to TRUE? I don't remember such requirement for appmenu indicator...

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

@Alberts

Yes, gtk-shell-shows-app-menu should be true. To make it work on flashback (19.04)

1) Disable workaround

gsettings set org.gnome.gnome-flashback.workarounds fix-app-menu false

That should do it if not try overriding xsettings

gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 1>}'

(And unity-gtk-module is handling gtk-shell-shows-menu-bar.)

2) Now add app-menu-applet to the panel, it should work.

At least it is working for me for chromium. But the issue is some gnome apps (like terminal, gedit) only exports appmenu and not the menubar depending on XDG_CURRENT_DESKTOP and it thinks flashback as gnome-session. Since appmenu was removed in 3.32, there are no menu at all on the panel.

The other issue is, as you described, g-s-d now hardcoded appmenu to false, will xsettings override even work ? If it does, indicator-appmenu-applet can set both to true in debian/postinstall for flashback session.

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

It is not hardcoded, I think... The default now is always FALSE, but with xsettings overrides user still can change that.

Well I don't think it is good idea to modify settings by installing package. User might have other overrides sets...

Revision history for this message
Zippy Zebu (zippy.zebu) wrote :

Hi,

This used to work in Bionic. But I might have modified the settings before.

I just delete the panel, set fix-app-menu to false and re-add the appmenu applet, now it works. Thank you.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-flashback - 3.32.0-1ubuntu1

---------------
gnome-flashback (3.32.0-1ubuntu1) eoan; urgency=medium

  * Merge with Debian experimental, remaining changes:
    - debian/rules:
      + Add an epoch number to gnome-session-flashback package.
    - debian/gnome-flashback-common.gsettings-override:
      + Disable some not needed gnome-flashback components.
      + Add the default settings for GNOME Flashback sessions.
    - debian/gnome-session-flashback.target:
      + The target file for systemd, based on ubuntu-session.target.
      + Install this file into /usr/lib/systemd/user/ directory.
    - debian/control.in:
      + Bump gnome-session-bin dependency to 3.18.1.2-1ubuntu5, to be able
        to use run-systemd-session.
      + Add dependencies on dbus-user-session, indicator-common and systemd.
      + Use Ubuntu VCS fields.
      + Make gnome-flashback-common depend on light-themes.
    - debian/patches/run-systemd-session.diff:
      + Use run-systemd-session script for running the session.
    - debian/patches/support-indicator-keyboard.diff:
      + Support “org.gnome.desktop.input-sources current” key, to make
        indicator-keyboard working.
    - debian/patches/disable_compiz_session.diff:
      + Remove this patch, enable the Compiz session.
  * Workarounds are removed in the new release (LP: #1824155).
  * Refresh support-indicator-keyboard.diff.

 -- Dmitry Shachnev <email address hidden> Sun, 05 May 2019 14:08:03 +0300

Changed in gnome-flashback (Ubuntu):
status: New → Fix Released
Steve Langasek (vorlon)
Changed in gnome-flashback (Ubuntu Disco):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.