SUMMARY Global menu does not appear when using a Qt6 application in a Wayland session STEPS TO REPRODUCE 1. Start Plasma Wayland. 2. Open any Qt6 application (tested on Qbittorrent 4.4) OBSERVED RESULT The global menu is not rendered. The menu in application windows is also not rendered, unlike a similar bug (Bug 424485) affecting GTK applications on Wayland. The global menu is correctly rendered for applications running on XWayland. EXPECTED RESULT The menu should be rendered properly, as with Qt5 apps. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.89.0 Qt5 Version: 5.15.2 Qt6 Version: 6.2.2 Kernel Version: 5.15.13-arch1-1 (64-bit) Graphics Platform: Wayland
KDE software hasn't been ported to Qt6 yet. It will be, eventually. :)
*** Bug 455155 has been marked as a duplicate of this bug. ***
I'm reopening this because (with all due respect) I think this is not about porting KDE applications to Qt6, but about making sure that in the meantime Qt6 applications show at least SOME kind of menu, even if the Global menu currently doesn't support them. I'm seeing the same behaviour with Qt6 applications: the app window doesn't contain a menu, the global menu doesn't show anything, it's as if the menu got swallowed somewhere.
Also happens with OBS Studio
Since there's more and more Qt6 apps popping up and old ones getting update I think this issue starts being very relevant. It's not about global menu but rather about Qt6 apps not having ANY menu at all. I agree with phrxmd. If there's no way to support global menu right now, those apps at least should not have regular menu removed. This, for example, happens with electron apps like VS Code.
(In reply to gudvinr+kde from comment #5) > Since there's more and more Qt6 apps popping up and old ones getting update > I think this issue starts being very relevant. It's not about global menu > but rather about Qt6 apps not having ANY menu at all. > > I agree with phrxmd. If there's no way to support global menu right now, > those apps at least should not have regular menu removed. This, for example, > happens with electron apps like VS Code. Electron apps such as VSCode are GTK apps at their core, and as such are not affected by this bug, but rather this one: https://bugs.kde.org/show_bug.cgi?id=424485
Electron apps aside, I can still reproduce this with Qt6 apps such as Telegram Desktop and qBittorrent. Steps to reproduce: 1. Launch app with QT_QPA_PLATFORM=xcb → menu appears in the Global Menu applet 2. Launch app with QT_QPA_PLATFORM=wayland → no menu at all (neither in the Global Menu applet nor in the app window).
Can confirm.
Relevant work: https://codereview.qt-project.org/c/qt/qtbase/+/481436 We're trying to move away from our fork of the menu code to using Qt's directly, we just have to add on this little bit
Is there any progress? Using MegaRelease beta1 from master git builds under openSUSE Tumbleweed still does not show any global menu in the window decoration.
I would also like to know if there's any update on this? I use Global Menu everywhere........ :(
If there was an update, you'd see it here.
(In reply to Robby Engelmann from comment #10) > Is there any progress? Using MegaRelease beta1 from master git builds under > openSUSE Tumbleweed still does not show any global menu in the window > decoration. This is something else; please submit a new bug report for it.
As originally described, this issue appears to be fixed now. I can get a proper global menu for all the Qt 6 apps I tried with current git master of everything KDE--including Plasma 6. I suspect the original issue was caused by library version and compatibility mismatches stemming from using Qt apps in Plasma 5, which was Qt5-based.
If you're on a distro that allows you to backport the libraries you need (e.g. NixOS), the packages you need are: plasma-integration, kio, kio-extras. With these, qt6 apps have functioning global menus in Plasma 5. If not, just wait for Plasma 6 release, which is guaranteed to fix this issue anyway.
(In reply to Nate Graham from comment #12) > If there was an update, you'd see it here. I'm sorry. It's not the first time devs are busy fixing bugs and don't have the time to come up and post || close the related bug report, hence my question. Also, when you say "As originally described" i don't see "where" it was described... (it's an honest question - not a provocation of anykind - because i might not be looking in the right places and asking questions i could find answers to myself)
I can confirm, it works here: Operating System: openSUSE Tumbleweed 20240205 KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.1 Kernel Version: 6.7.2-1-default (64-bit) Graphics Platform: Wayland Processors: 20 × 13th Gen Intel® Core™ i7-13700H Memory: 62.5 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: TUXEDO Product Name: TUXEDO InfinityBook Pro Gen8 (MK1)
(In reply to John from comment #16) > (In reply to Nate Graham from comment #12) > > If there was an update, you'd see it here. > > I'm sorry. It's not the first time devs are busy fixing bugs and don't have > the time to come up and post || close the related bug report, hence my > question. > > Also, when you say "As originally described" i don't see "where" it was > described... > (it's an honest question - not a provocation of anykind - because i might > not be looking in the right places and asking questions i could find answers > to myself) You're good, sorry I was a bit snippy. In this case the ping was in fact useful because the issue is resolved for Plasma 6, but the status hadn't been updated to reflect that! "As originally described" was referring to the original description of the bug report, written by SoilpH96. What they described is fixed now for Plasma 6.