Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#930572: vala-panel-appmenu-common: Global Menu doesn't work for GTK applications

116 views
Skip to first unread message

Evgen

unread,
Jun 15, 2019, 2:20:02 PM6/15/19
to
Package: vala-panel-appmenu-common
Version: 0.7.1+dfsg1-1
Severity: important

Dear Maintainer,

On Debian 10 vala-panel-appmenu is mostly unusable because
it doesn't get menus from any GTK2/GTK3 applications.
I tried xUbuntu 18.04 and xUbuntu 19.04 to confirm that
it works properly there.

How to test with XFCE Desktop Environment:
1) sudo apt -y install xfce4-panel-appmenu
2) Add AppMenu plugin to your panel
3) Log-Out
4) Log-In and start "Thunar"

Expected result:
- Application name appears on the panel
- Menu gets removed from application and appears on the panel

Actual result:
Application name is on the panel but menu stays on the application

------
I looked at the ~/.xsession_errors on both systems:
On Ubuntu:
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module
dbus-update-activation-environment: setting UBUNTU_MENUPROXY=1
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface
“com.canonical.AppMenu.Registrar” on object at path
/com/canonical/AppMenu/Registrar

On Debian:
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
* no info about appmenu-gtk-module
* no info about UBUNTU_MENUPROXY
* same error as on xUbuntu
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface
“com.canonical.AppMenu.Registrar” on object at path
/com/canonical/AppMenu/Registrar

------
Installing MATE. We'll report later if it works there.

-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vala-panel-appmenu-common depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.30.1-2

vala-panel-appmenu-common recommends no packages.

vala-panel-appmenu-common suggests no packages.

-- no debconf information

Evgen

unread,
Jun 15, 2019, 3:10:02 PM6/15/19
to
Package: vala-panel-appmenu-common
Version: 0.7.1+dfsg1-1
Followup-For: Bug #930572

Same issue on MATE.
Only QT applications exports their menus (tried VLC & GoldenDict)

Jacob Sims

unread,
Dec 10, 2019, 5:10:03 PM12/10/19
to
Hi,

I had the same problem on XFCE in Debian testing. I did some searching of the original repo's README and discovered there are a few settings that have to be flipped in XFCE on Debian. Based on similar settings existing for MATE, I'd assume the same is true there, and, finally, also for Budgie (but that's not an official Debian DE so I'm not worrying about it).

For XFCE:
xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s true
xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s true

For MATE:
gsettings set org.mate.interface gtk-shell-shows-app-menu true
gsettings set org.mate.interface gtk-shell-shows-menubar true

The original information and README are here.
The information about `appmenu-gtk-module' seems not to be relevant to Debian as the changes it makes seem to be in the install scripts already.

I have fixed the problem on XFCE by adding a file in the `/debian' direction called `xfce4-appmenu-plugin.sh' with the above commands. I also made one for MATE (`debian/mate-applet-appmenu.sh') that presumably works, but I am not sure since I'm running XFCE.

I can't find information on exactly how to submit the actual source changes, so I'm hoping this is the correct way to report fixes. If not, let me know and I'll happily do things properly.


Regards,
JTS

Jacob Sims

unread,
Dec 10, 2019, 11:40:04 PM12/10/19
to
A quick update:

I realized that the commands from the gtk-module README are in fact needed for XFCE. I added them to the shell script.

-JTS

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

Mike Gabriel

unread,
Dec 11, 2019, 6:50:03 AM12/11/19
to
On Mi 11 Dez 2019 05:37:32 CET, Jacob Sims wrote:

> A quick update:
>
> I realized that the commands from the gtk-module README are in fact
> needed for XFCE. I added them to the shell script.
>
> -JTS

Great. So, can this issue be closed?

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.g...@das-netzwerkteam.de, http://das-netzwerkteam.de

KALEB

unread,
Mar 11, 2020, 5:50:03 AM3/11/20
to
--

hello i don't if you have had a chance to look at my previous
mail, dated on 01,03,2020 I will be expecting your responds at your
earliest convenience time regarding the previous mail I sent to
you.about the fund that was supposed to be send to you. is about a
late contractor from your country that has no one to claim his fund do
get back to me here for more information , i want to present you as
his next of kin.. i don't want the money to go into wrong hands, i
will explain everything to you when you reply .believe me i have
everything that is need to make this huge money successful transfer
to you
0 new messages