I recently bought a mini-pc and decided to install Manjaro plasma on it (about 2 months ago). I usually stick to breeze dark/light cursor and it’s respected across most applications such as strawberry (music player), code etc… and have no issues on applications developed by KDE.
However, on some applications (keepassxc, opensnitch etc) the cursor theme is not respected and it switches to a tiny cursor which is not breeze.
I don’t have this issue on another install (Manjaro plasma on a laptop) that I’ve had for about 5 years. So it could be that I’m missing some package or update from plasma 5 to 6 kept something that solves this.
All of the packages listed in this post are native – installed from Manjaro repos and not from flatpak or snap. Anyone know how to figure out what going on?
That’s more or less what it is, yes, but the deviating cursor seen in the screenshot is actually an xorg cursor.
Earlier, I too had the same problem in certain gtk applications, but that was when I was still on X11. The problem has mostly disappeared since I switched to Wayland, but there still are certain circumstances where it pops up, and they are always gtk applications.
Now, I’m not an expert, but I am guessing that it could be a result of certain older gtk applications — most notably, anything still based on gtk2 and gtk3 — possibly lacking support for Wayland and thus being run on XWayland, which is effectively an X11 window on top of Wayland.
Do you mind elaborating on this comment? I believe keepassxc is being built with qt5 and plasma being a qt desktop should have native support for it. There are some discussions for on github - Qt 6 upgrade · Issue #7774 · keepassxreboot/keepassxc · GitHub about porting it to qt6, but it’s a WIP.
I went through section 2.1 and have breeze, breeze-gtk and kde-gtk-config. But all of this is about clashes between GTK and QT, whereas keepassxc is a native QT application. I could be wrong though.
keepassxc is a qt5 application.
And if I’m reading the deps right … opensnitch appears to be qt5 as well.
(previous comments about gtk mismatch do not apply)
This gave me an idea and I compared all the packages installed on my laptop vs mini-pc looking for anything that contains qt5 or 5. Installed plasma5-integration and my issues (on both opensnitch and keepassxc) have gone away.
Since on the other system I upgraded from plasma 5 to 6, some of the “older” packages remained and I never faced this issue.
plasma5-integration should probably be part of the plasma iso until everything goes qt6.
I did think about this when debugging and installed xorg-xeyes to rule it out. In case this helps out someone in the future.
It was set to automatic. This option could be useful if I ever switch to gtk backend.