Knotes looks for X11 functions under Wayland

knotes (Wayland) starts with these messages when launched from command line:

kf.windowsystem: static void KX11Extras::setCurrentDesktop(int) may only be used on X11
kf.windowsystem: static void KX11Extras::forceActiveWindow(WId, long int) may only be used on X11
kf.windowsystem: static int KX11Extras::numberOfDesktops() may only be used on X11
kf.windowsystem: static int KX11Extras::numberOfDesktops() may only be used on X11

I can show a note, update and close it. A next click on the icon in systray closes knotes with this message:

xdg_wm_base#3: error 3: no xdg_popup parent surface has been specified
The Wayland connection experienced a fatal error: Erreur de protocole

It’s clear that knotes assumes it’s running on X11. This happened since about 2 weeks on Arch. It was behaving nicely before under Wayland.

Can someone confirm this? Should a bug report be filed?

Thanks.

Operating System: Arch Linux
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.0-git-00002-g45ba44e7c792-dirty (64-bit)
Graphics Platform: Wayland

1 Like

The KX11Extras warnings and the Wayland error are unrelated. The warnings are harmless