You are not logged in.

#1 2023-06-09 18:54:45

nikm01
Member
Registered: 2021-07-17
Posts: 2

appmenu doesn't work for gtk apps in KDE

KDE Global menu widget doesn't show menu for any GTK application. Most gtk apps printed:

Gtk-Message: 23:38:04.470: Failed to load module "appmenu-gtk3-module"

but some (bless, for example) did not.
I've installed appmenu-gtk-module and started appmenu-gtk-module.service with --user. Then I've tried to put symlink named libappmenu-gtk3-module.so and linked to libappmenu-gtk-module.so in /usr/lib/gtk-3.0/modules. The message disappeared, but nothing else changed.
However, menu in GTK windows is hidden.
This menu works perfectly in GIMP and LibreOffice.

Plasma 5.27.5-1
appmenu-gtk-module 0.7.6-1
gtk3 1:3.24.38-1

Running on Wayland

Offline

#2 2023-06-10 10:40:09

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,972

Re: appmenu doesn't work for gtk apps in KDE

Debian likes to split things in multiple packages.
appmenu-gtk3-module , appmenu-gtk2-module,  appmenu-gtk-module-common and several others are all provided by the single package appmenu-gtk-module on archlinux .

https://bugs.archlinux.org/task/61373 is similar and may give you some ideas.
You did reboot after installing appmenu-gtk-module ?

Welcome to archlinux forums


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2023-06-10 12:48:52

nikm01
Member
Registered: 2021-07-17
Posts: 2

Re: appmenu doesn't work for gtk apps in KDE

Thanks for fast reply and for greetings!

Lone_Wolf wrote:

You did reboot after installing appmenu-gtk-module ?

Yes I did.

In my case gtk apps don't crash, they just hide their menu, but it not displayed in the applet. I installed vala-panel-appmenu-registrar (as recommended on vala panel gitlab), nothing changed on Wayland. But global menu works on X11 with any app. I'm not sure was it working before installing or not.
Does anybody know is it ever possible to make it work with Wayland?

Offline

#4 2024-01-14 16:44:41

rilian-la-te
Member
Registered: 2012-08-24
Posts: 42

Re: appmenu doesn't work for gtk apps in KDE

No, it is not. I did not ported appmenu-gtk-module to Wayland. Maybe in the future...

But even if I will, then we need an applet who can send a global menu. There is org.kde.kappmenu protocol for doing it, and gtk-shell protocol for doing it. So, appmenu-gtk-module should be able to convert between 2 formats of menus and knows about both protocols.

Offline

Board footer

Powered by FluxBB