SUMMARY wxgtk3 apps don't have global menus. However, the old entry in the Kai Uwe's Blog (posted a link below) suggests this should work, so I assume there had to be some bug introduced along the way. I don't use wxgtk3 apps myself so I can't say when this regression happened. https://blog.broulik.de/2018/03/gtk-global-menu/screenshot_20180301_152952/ You can check this out in such wxgtk3 apps as aegisub or audacity. STEPS TO REPRODUCE 1. Install any wxgtk3 app 2. Launch wxgtk3 app (audacity for example) OBSERVED RESULT No global menus. EXPECTED RESULT Global menus should be exported to the top panel as with other apps. Operating System: Manjaro Linux KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.61.0 Qt Version: 5.13.0 Kernel Version: 5.2.11-1-MANJARO OS Type: 64-bit Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 7,7 GiB
Plasma 5.17 still has the same issue. Audacity doesn't have global menus.
confirmed in plasma 5.19.2
Still true in Plasma 5.21.2.
Please include the output of "xprop " and clicking on one of those windows. Then output from qdbus listing the paths available on the relevant service.
Here is the output (icon not included): xprop _NET_WM_ICON_GEOMETRY(CARDINAL) = 1395, 1023, 42, 42 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 26, 0 _NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 26, 0 _NET_WM_DESKTOP(CARDINAL) = 0 _KDE_NET_WM_ACTIVITIES(STRING) = "100477ce-11af-461d-9e5d-fa08ff425a91" WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_STATE(ATOM) = WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x8e0007d bitmap id # of mask for icon: 0x8e00085 window id # of group leader: 0x8e00001 _GTK_THEME_VARIANT(UTF8_STRING) = _NET_WM_ICON(CARDINAL) = Icon (48 x 48): _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0 _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 20579412 XdndAware(ATOM) = BITMAP _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 148897915, 148897916 _NET_WM_USER_TIME(CARDINAL) = 20573828 _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x8e0007a WM_CLIENT_LEADER(WINDOW): window id # 0x8e00001 _NET_WM_PID(CARDINAL) = 179844 WM_LOCALE_NAME(STRING) = "pl_PL.UTF-8" WM_CLIENT_MACHINE(STRING) = "alienware-PC" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 664 by 300 program specified maximum size: 20000 by 20000 program specified base size: 250 by 300 window gravity: NorthWest WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) = "audacity", "Audacity" WM_ICON_NAME(STRING) = "Audacity" _NET_WM_ICON_NAME(UTF8_STRING) = "Audacity" WM_NAME(STRING) = "Audacity" _NET_WM_NAME(UTF8_STRING) = "Audacity"
Created attachment 137743 [details] qdbus Here is qdbus the whole output. I have no idea which path is the relevant.
Usually global menus work well for me. The only exceptions are Spotify, Steam and some other apps that don't have menus, but those are normal. Other apps have fully functional global menus (qt, gtk, libre, firefox, thunderbird). And then there are wxgtk3 apps where it doesn't work. Maybe something special is needed for this to run? A package environmental variable? Does a global menu on audacity works for you?
That window doesn't appear to be trying to export a menu. That's not a bug on our side. Search for appmenu-gtk2-module and hopefully it will have some setup guides
There is no appmenu-gtk2 package on Manjaro/Arch. Even AUR doesn't have it :(. I only have appmenu-gtk-module 0.7.6-1 Does it mean that Plasma is not supporting gtk2 and wxgtk3 global menus at all?
openSUSE has it packaged, so you will need to talk to the Arch packagers about this.
>Does it mean that Plasma is not supporting gtk2 and wxgtk3 global menus at all? Plasma can't do something with data that doesn't exit.