SUMMARY If you start a qt-app under kde (running wayland), the apps (konsole, dolphin etc.) cant access global menu (when using sddm / kwin before, gdm3 / mutter is slightly diffent). This is independent of the graphics platform used. The only workaround is to trick the app by using GDK_BACKEND="x11" and / or QT_QPA_PLATFORM="xcb" (= nonisolated) 1. What are the needed dependencies currently to get 'global menu' working under wayland with qt-apps (without tricking them back into x11)? 2. What are dependencies when using 'global menu' with wayland while also using 'firejail'? under gdm3 / mutter this sems to be not a problem (because the mutter-wayland-flavor seems to be not so much 'wayland'-only currently even if you set variables strict), under sddm / kwin this produces some in part severe problems) currently installed: appmenu-registrar, libdbusmenu-qt5-2 (as well as the gtk-flavour (lib-)appmenu-gtk-x-module, dbusmenu / gir, libayatana-appindicator-stuff) 3. If this is a bug and currently worked on: what is the roadmap. The current situation is terrible it brakes systems or produces follow-up-problems when workarounds are used. STEPS TO REPRODUCE 1. setup sddm, kde, wayland-compatible graphics 2. setup global menu 3. start a qt-app (with QT_QPA_PLATFORM="wayland", GDK_BACKEND="wayland") OBSERVED RESULT no global menu entries show up (tested with intel, amd, nvidia) EXPECTED RESULT transfer of global menu entries SOFTWARE/OS VERSIONS Linux/KDE Plasma: debian 11 (available in About System) KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Another question would be how to activate 'global menu' in electron-based apps (brave, freetube, signal etc.) when they are started wayland only (--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations). as well as the above: only workaround seems to be 'QT_QPA_PLATFORM="xcb"' thus destroying all wayland-benefits (as well as downgrading resolution to 1920x1080 max and rendering all texts blurry), ending again in an x11-environment.
First issue does work normally after updating again to 5.24.5 and 5.93.0 (workaround before was using gtk as QT_QPA_PLATFORMTHEME). however second issue, electron-apps do not show the menu under wayland-only conditions (workaround is GDK_BACKEND="x11" and *not* --ozone-platform=wayland, thus making the blurry and reducing UHD to HD resolutions) as before, any plans to fix this (or any workaround to gain at least UHD-resolution)?
*** This bug has been marked as a duplicate of bug 424485 ***