You are not logged in.

#1 2023-12-03 19:04:31

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

[SOLVED] KDE Plasma: Global Menu wont work on Wayland

Its not just some applications. None of the applications have Global Menu working (I've added as a widget to menu bar). However, they work on Xorg. In journalctl, I see the following errors:

Dec 03 13:57:51 aura-thinkpad kded5[2039]: org.kde.plasma.appmenu: Got an error
Dec 03 13:57:51 aura-thinkpad kded5[2039]: org.kde.plasma.appmenu: Got an error
Dec 03 13:57:51 aura-thinkpad kded5[2039]: Service  ":1.76" unregistered
Dec 03 13:57:51 aura-thinkpad kded5[2039]: Registering ":1.78/StatusNotifierItem" to system tray
Dec 03 13:57:51 aura-thinkpad kded5[2039]: org.kde.plasma.appmenu: Got an error
Dec 03 13:57:51 aura-thinkpad kded5[2039]: org.kde.plasma.appmenu: Got an error

Any clue whats going wrong?

Last edited by aurabindo (2023-12-08 00:12:25)

Offline

#2 2023-12-03 19:50:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,382

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

It is a known problem with non-Qt applications.  https://community.kde.org/Plasma/Wayland_Showstoppers
Are you sure those errors have to do with Global Menu?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2023-12-03 20:20:39

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

ewaller wrote:

It is a known problem with non-Qt applications.  https://community.kde.org/Plasma/Wayland_Showstoppers

I tried Qt apps too. Even they dont work on wayland - qbittorrent, kwrite etc.

ewaller wrote:

Are you sure those errors have to do with Global Menu?

I am not. But I do not not how to find out either.

Any pointers?

Offline

#4 2023-12-03 23:13:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,376

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

Qt6 will not work currently, Qt 5 should. Any terminal output when looking at kwrite for example?

Offline

#5 2023-12-03 23:37:05

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

V1del wrote:

Qt6 will not work currently, Qt 5 should. Any terminal output when looking at kwrite for example?

Just this:

qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Offline

#6 2023-12-04 17:51:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,376

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

That's normal, you're talking about kwrite in qt5 and do not have e.g. kde-unstable enabled?

Offline

#7 2023-12-05 23:59:41

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

V1del wrote:

That's normal, you're talking about kwrite in qt5 and do not have e.g. kde-unstable enabled?

I'm using kwrite 23.08.3 from the repository. Why would that require kde-unstable ? With the versions available from default repos, if global menu isnt working, it should be considered  a bug. Does it need to be reported separately ?

Offline

#8 2023-12-06 10:19:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,376

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

No the question is whether this is a bug or an anomaly on your particular system which is why I'm trying to rule out some potential causes. I meant to test on my system yesterday but was busy with some other stuff, so maybe today if I don't forget.

FWIW

printenv | grep -E 'DBUS|QT'

Last edited by V1del (2023-12-06 10:20:19)

Offline

#9 2023-12-07 01:04:42

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

V1del wrote:

No the question is whether this is a bug or an anomaly on your particular system which is why I'm trying to rule out some potential causes. I meant to test on my system yesterday but was busy with some other stuff, so maybe today if I don't forget.

FWIW

printenv | grep -E 'DBUS|QT'
[aj@aura-thinkpad ~]$ printenv | grep -E 'DBUS|QT'
QT_QPA_PLATFORMTHEME=qt5ct
QT_STYLE_OVERRIDE=kvantum
KONSOLE_DBUS_SERVICE=:1.608
KONSOLE_DBUS_SESSION=/Sessions/1
PLASMA_USE_QT_SCALING=1
QT_WAYLAND_FORCE_DPI=96
QT_AUTO_SCREEN_SCALE_FACTOR=0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus

Not sure what changed, but now even Xorg wont show global menus hmm

Offline

#10 2023-12-07 03:57:25

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,193

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

Drop QT_QPA_PLATFORMTHEME

Offline

#11 2023-12-08 00:11:53

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: [SOLVED] KDE Plasma: Global Menu wont work on Wayland

arojas wrote:

Drop QT_QPA_PLATFORMTHEME

That did the trick! Now I am having global menu on Wayland yayy! Thank you so much smile

Offline

Board footer

Powered by FluxBB