Closed joeknock90 closed 5 years ago
To add my 2c in here, I'm seeing this behavior on arch from this applet, as well as from Active Window Control (which did have functional menus when building it from source on an Ubuntu-based system). Obviously, AWC is not this project, but it strikes me as slightly more notable when the issue is seemingly "Nothing but the Plasma default menus function" rather than "Applet Window Appmenu specifically does not function".
So how can I reproduce this in a VM? Which manjaro version should I use?
So how can I reproduce this in a VM? Which manjaro version should I use?
Just install Manjaro KDE and then change branch to unstable, which is about the same as Arch stable, package versions wise. That this bugs appear on a VM with your particular setup/drivers is another matter...
https://wiki.manjaro.org/index.php?title=Change_Selected_Pacman_Branch#Changing_to_another_branch
@Zren I think the same problem applies to AWC also... Problem was that it was built without X11 support at all!!
No idea why X11 libraries were optional and why TRUE for X11_FOUND could not be understood.... because appmenu is a fork from AWC I think same problem appears there also.
I was worried it might be an undefined runtime dependency. Didn't think that it would have the effect it does have (global menu working and this not) but it makes sense as it wouldn't have the headers to detect x11 windows.
It is probably OPTIONAL
as that's what plasma-workspace/CMakeLists.txt uses. The global menu widget applets/appmenu
and libdbusmenuqt
were stripped from that repo to make AWC probably.
Workspace probably has it optional so that it can build for wayland? Though I don't see a:
if x11 then
require x11 library
else if wayland then
require wayland library
else
raise error
end if
If we look at kwin's CMakeLists.txt
, it looks like it requires both the X11 and wayland libraries oddly enough.
@Zren probably but global menu does not work at all under wayland as there is no protocol yet to support it and under X11 it is definitely REQUIRED because otherwise wont work.
I suppose plasma global menu is just preparing itself in case a wayland implementation exists in the future for global menus
Arch Linux Plasma 5.15.3 X11
Global Menu does work, but this applet does not.
It shows that the widget is there when editing the panel, but does not snow any options for any applications (QT, GTK or otherwise)
I have no idea where to even start with logs.