Bug 444609

Summary: GTK applications do not use the Global Menu widget in a Wayland session
Product: [Plasma] plasmashell Reporter: anhollander516 <anhollander516>
Component: Global MenuAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: minor CC: anhollander516, indecisiveautomator, mvourlakos, nate, philipp.reichmuth, plasma-bugs, postix
Priority: NOR Flags: anhollander516: Wayland+
Version: 5.23.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description anhollander516@gmail.com 2021-10-29 15:18:58 UTC
SUMMARY
GTK applications do not use the Global Menu widget in a Wayland session. Rather, they use their own GTK menubar.

STEPS TO REPRODUCE
1. Install community/appmenu-gtk-module
2. Add a Global Menu widget
3. Open GTK applications that use a menubar in a Plasma Wayland session. I have reproduced this with firefox-appmenu, qalculate-gtk, and pcmanfm.

OBSERVED RESULT
GTK applications use their own menubar, rather than the global menu. firefox-appmenu is a patched version of firefox that allows it to use appmenu, and it has native GTK menubar support removed. In the Wayland session, there is no access to the menubar at all. This is obviously because of the patch, and not related to the bug, but something observed nonetheless.

EXPECTED RESULT
GTK applications use the Global Menu as intended


SOFTWARE/OS VERSIONS
Operating System: Arch Linux (fully up to date as of Fri Oct 29 11:10:43 AM EDT 2021)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 1 indecisiveautomator 2021-11-03 12:47:55 UTC
Able to reproduce on Arch Linux w/ Plasma 5.23.2, primarily affecting me with Electron apps and Chromium.
Comment 2 phrxmd 2021-12-22 19:54:27 UTC

*** This bug has been marked as a duplicate of bug 426253 ***
Comment 3 postix 2024-03-20 17:31:09 UTC

*** This bug has been marked as a duplicate of bug 424485 ***