Bug 385880

Summary: Global Menu: does not work under wayland and causes a black screen when trying to enter its setting
Product: [Plasma] plasmashell Reporter: joergister
Component: Global MenuAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: crash CC: 4wy78uwh, abubakaryagob, ahomaailma, artelkryukov, Arthur.Moore.KDE, axelsarraille, baltha22, bribbers, calzzon3, clearmartin, denisshklyaev, dlsoakeod, dnelubin, erin-kde, fedor1113-public, fonsocm, im, jessenzr, Kanwar.Plaha, kolya.ay, kyazawa, mail, marcantoine_manningham, matejm98mthw, mathias.teier, namkhai.n3, nasashinega, nate, neopytek, notuxius, pat_h, philipp.reichmuth, plasma-bugs, qinq_net, RussellH, trmdi, tromzy, uhhadd, wildcart, yogeshm.007
Priority: NOR Keywords: wayland
Version: 5.16.0Flags: bribbers: Wayland+
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The Global Menu does not work on Plasma on Wayland.
Global Menu working on Plasma 5.18.80 under Wayland

Description joergister 2017-10-17 20:09:33 UTC
When using the Plasma-Wayland session, the global menu does not work. It simply leaves the place where it usually shows the menues empty. 
When I try to enter the Settings of global menu by right klicking on the place where it usually (under XCB) is and the klicking on "Settings for global menu", I get a black screen and cant interact with my Neon installation untill I restart it.

These two things make it impossible for me to use global-menu under wayland.

Im using KDE-Neon User edition and the Plasma 5.11.1 Desktop. 
KDE-Frameworks are Version 5.39.0
Im Using Qt-Version 5.9.1
Kernel : 4.10.0-37-generic 

Its a Lenovo T420 and I have never had any driver issues cause its an old modell.
Comment 1 wazyk 2017-10-18 08:47:50 UTC
Same here on latest plasma version under Archlinux.
I've not experienced the black screen (need to try that). But no global menu shown on Plasma on Wayland session.
It shows OK when under regular Plasma session...
Comment 2 Kai Uwe Broulik 2017-10-24 13:10:48 UTC
Title bar menu button should work (the menu will be misplaced, though) but for the applet some additional protocols are needed, as it cannot know what window is the active one and cannot randomly read properties from them.
Comment 3 wazyk 2017-10-24 20:00:14 UTC
So, is it some missing implementation in plasma or just some Waland missing returned info ?

Anyway, when I decided to go for a mature Waland experience, I wasn't aware of this limitation.
I think it should have been more openly explained. Because there are other few minor "regressions" when using Waland session...
Comment 4 Nate Graham 2017-10-24 20:01:24 UTC
Yes, there are definitely still issues, which is why bug reports are valuable. Thanks for being a part of the solution!
Comment 5 wazyk 2018-02-09 06:33:23 UTC
Still the same on KDE Plasma 5.12 :(
Comment 6 Kanwar Plaha 2018-02-23 10:05:21 UTC
Same here. I tried setting Style=In application in kdeglobals (both under/usr/share and under $HOME/.config but didn't work. 

Also the configuration drop down is missing from systemsettings.

So even though rest of KDE is working smooth as under Wayland, it is unusable due to the missing menu bar.

I've seen the same behaviour across Ubuntu, opensuse, arch and now nitrux.

Cheers.
Comment 7 wazyk 2018-03-04 13:33:09 UTC
Fix needed on Plasma side or Wayland side ?
Anyone from Plasma devs with a clue ?
Comment 8 Jesse 2018-03-22 01:06:54 UTC
I just, accidentally, changed the version of this bug. I meant to edit the bug I reported but I had two tabs opened and edited this by mistake. Sorry.
Comment 9 Alfonso Castro 2018-05-29 08:24:53 UTC
This problem still happens in OpenSuSE Leap 15.
Comment 10 Antonio Rojas 2018-07-01 06:57:20 UTC
*** Bug 396021 has been marked as a duplicate of this bug. ***
Comment 11 Alexander Mentyu 2018-08-16 10:38:30 UTC
Global Menu in titlebar is working - with misplased menus, there is no black screen when entering Panel Global Menu widget settings - and both radio buttons in the settings window (Use singe button... and Show full app menu) are disabled 

Distribution: KDE neon Developer Edition
Kernel: 4.15.0-29-generic
Plasma: 5.13.80
Apps: 18.11.70
Qt: 5.11.1
Frameworks: 5.48.0
Comment 12 Namkhai B. 2018-08-17 18:32:58 UTC
With Plasma-Wayland session, working with misplaced menus in titlebar (as button) but not showing in Latte Dock panel.

Plasma 5.13.4
KDE Frameworks 5.48.0
Qt 5.11.1
KDE Applications 18.04.3
Arch Linux up-to-date
Kernel 4.17.14-arch1
Comment 13 Abubakar Yagoub 2018-10-08 05:39:47 UTC
this still doesnt work or show anything at all just a plank space with either a plasma panel or latte dock panel

Distro: Manjaro linux 
Plasma: 5.13.5
KDE Framework: 5.50.0
QT: 5.11.2
Kernel: 4.18.11-manjaro
Comment 14 Axel 2018-10-22 14:16:57 UTC
Still global menu doesn't appear on Wayland Session, Plasma 5.14.1 on KDE Neon
Comment 15 Leyenda 2019-03-09 18:05:30 UTC
Still global menu doesn't appear on Wayland Session, Plasma 5.15.2 on KDE Neon
Comment 16 phrxmd 2019-04-26 15:14:33 UTC
Confirmed, still no global menu on KDE plasma session on KDE 5.15.4 (tested with Wayland session on Kubuntu 19.04). The menu simply stays blank.
Comment 17 phrxmd 2019-06-14 03:03:58 UTC
Still no global menu on KDE Plasma 5.16.0 (on Kubuntu 19.04), the global menu stays blank in the Wayland session
Comment 18 Alex Istrate 2019-07-21 07:39:37 UTC
Created attachment 121655 [details]
The Global Menu does not work on Plasma on Wayland.

The Global Menu does not work on Plasma on Wayland. In fact, several menu related function do not work or are buggy.
Comment 19 Alex Istrate 2019-07-21 07:54:47 UTC
Same here (Kubuntu 19.04, Plasma 5.16.3, Frameworks 5.59.0, Qt 5.12.2). It worked on X11. I installed Wayland using 'sudo apt install plasma-workspace-wayland'.

In fact, several other menu-related functions do not work (see screenshot).
Comment 20 fedor1113 2019-08-12 17:05:22 UTC
Confirm again.
Under Manjaro testing. With latte-dock.
Apart from that, Wayland experience seems to be pretty smooth.
Comment 21 Erin Yuki Schlarb 2019-11-29 19:49:13 UTC
Unchanged using:

KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Comment 22 Arthur Moore 2020-01-07 23:47:53 UTC
I also experience this issue.  Everything works correctly on Plasma, but not Plasma Wayland.

Of interest is there is a little menu button in the left hand corner of each window.  When clicking that it opens a small window with each of the menu options.  Clicking on sub menus opens up additional windows.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2
Kernel Version: 4.15.0-74-generic
OS Type: 64-bit
Comment 23 Denis Shklyaev 2020-04-30 20:57:43 UTC
Global menu still doesn't work on stable Plasma 5.18, but works on unstable Plasma 5.18.80 under Wayland (latest neon Unstable). Some menu items may work incorrect, global menu may not appear when first launch of some application (you should launch application, then collapse its window and maximize window again). But it works.
Comment 24 Denis Shklyaev 2020-04-30 21:22:43 UTC
Created attachment 128041 [details]
Global Menu working on Plasma 5.18.80 under Wayland
Comment 25 baltha22 2020-05-06 06:46:36 UTC
Same bug on mageia plasma but SOLVED changing color bit from 16 Bit to 24 Bit the Global Menu showed !
Comment 27 Erin Yuki Schlarb 2020-05-12 03:55:37 UTC
(In reply to Denis Shklyaev from comment #23)
> Global menu still doesn't work on stable Plasma 5.18, but works on unstable
> Plasma 5.18.80 under Wayland (latest neon Unstable). Some menu items may
> work incorrect, global menu may not appear when first launch of some
> application (you should launch application, then collapse its window and
> maximize window again). But it works.

Sorry for the noise! But which repo are you referring to? I have "user/ bionic main" and "dev/stable/ bionic main" enabled on my system, but the most recent available version is 4:5.18.5+p18.04+git20200511.1626-0.
Comment 28 Christoph Feck 2020-05-12 09:52:07 UTC
You need Neon Unstable or Neon Developer Edition to get the 'master' versions of KDE software. Some other distributions might also offering repositories (e.g. openSUSE has KDE:Unstable:* repos). It is best to ask on a mailing list or forum of your distribution.
Comment 29 Denis Shklyaev 2020-05-12 10:54:34 UTC
(In reply to Alexander Schlarb from comment #27)

> Sorry for the noise! But which repo are you referring to? I have "user/
> bionic main" and "dev/stable/ bionic main" enabled on my system, but the
> most recent available version is 4:5.18.5+p18.04+git20200511.1626-0.

I used LiveCD of Neon Developer Edition (this can be seen in the screenshot attached by me). If you want to see how global menu now works under Wayland, just use LiveCD of neon Dev edition (with reboot into session under Wayland). There is no Plasma 5.18.80+ version in most distros (even in unstable repos).
Comment 30 Denis Shklyaev 2020-05-12 10:59:22 UTC
(In reply to Denis Shklyaev from comment #29)

> I used LiveCD of Neon Developer Edition (this can be seen in the screenshot
> attached by me). If you want to see how global menu now works under Wayland,
> just use LiveCD of neon Dev edition (with reboot into session under
> Wayland). There is no Plasma 5.18.80+ version in most distros (even in
> unstable repos).

*developer or unstable
Comment 31 Erin Yuki Schlarb 2020-05-13 10:08:51 UTC
Ok thanks! I thought there was some repo I could steal some packages out of. I'll just wait for the release then. :-)