Bug 455155 - No menu at all for Qt6 apps in Wayland
Summary: No menu at all for Qt6 apps in Wayland
Status: RESOLVED DUPLICATE of bug 448078
Alias: None
Product: kded-appmenu
Classification: Plasma
Component: export (show other bugs)
Version: 5.24.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-11 08:18 UTC by phrxmd
Modified: 2022-08-26 11:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phrxmd 2022-06-11 08:18:09 UTC
SUMMARY
When using the global menu on Wayland, Qt6 application are rendered without any menu. There is no global menu (bug 448078), but there is also no in-application menu. Any functionality that is reached through the menu is inaccessible to the user. 

Tested with qbittorrent (a Qt6 application) that gives me a global menu when started under XWayland, but no menu at all under Wayland.

STEPS TO REPRODUCE
1. On Wayland, enable the Global Menu widget, or some other widget that enables the global menu 
2. Launch QBittorrent with QT_QPA_PLATFORM=wayland
3. No menu!
4. Exit QBittorrent, launch it again with QT_QPA_PLATFORM=xcb, compare

OBSERVED RESULT
Under Wayland QBittorrent has no menu at all, global or not.  
Under XCB/CWayland QBittorrent has a global menu.

EXPECTED RESULT
The global menu should be exported correctly whatever the platform.
Barring that, as long as KDE isn't ported to Qt6, the menu should be displayed in-application.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220609
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Qt6 Version: 6.3.0
Kernel Version: 5.18.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Tested with QBittorrent 4.4.3.1.
Comment 1 phrxmd 2022-08-26 11:48:10 UTC

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