You are not logged in.
I updated to Plasma 6 yesterday. Now, when I mouse over the windows of Qt5 apps like Haruna or QMC2, they show the wrong cursor theme. It looks like the Adwaita cursor, but I can't tell for sure. I am using the default Breeze cursor theme through Settings. Qt5 apps are the only ones exhibiting this problem. I installed the "breeze5" package, so the apps themselves are themed correctly. Any thoughts would be appreciated.
Last edited by MaximGun (2024-03-07 19:26:57)
Offline
I can confirm. I have the same behaviour. Installing breeze5 helped for the theming issue. Thanks for the hint!
Additionally, I found https://discuss.kde.org/t/qt5-apps-usin … yland/6850.
#/etc/profiles.d/mypersonalenvironment.sh
export XCURSOR_SIZE=48
fixed my issue with the next login.
Last edited by Funny0facer (2024-03-07 19:21:12)
Offline
Nice find, thanks! Exporting XCURSOR_SIZE=30 and XCURSOR_THEME=breeze_cursors worked for me. Seems like Qt5 apps should inherit cursor themes automatically, but marking solved nevertheless.
Offline
You're missing plasma5-integration and/or kwayland-integration
Offline
kwayland-integration was installed with the transition to plasma6 on my machine.
As far as I can see, I need both breeze5 and plasma5-integration to have e.g. keepassxc displaying correctly.
See following pictures:
☐ breeze5
☐ plasma5 integration
https://ibb.co/BPzNKb8
☐ breeze5
☑ plasma5 integration
https://ibb.co/XVLL5Q2
☑ breeze5
☐ plasma5 integration
https://ibb.co/TgfKv6t
☑ breeze5
☑ plasma5 integration
https://ibb.co/SXgP4GW
what i can confirm: with plasma-integration installed, the cursor was handled correctly.
Offline
You're missing plasma5-integration and/or kwayland-integration
Thanks. Even better than the environment variable hack
Offline
This doesn't seem to work for flatpak apps. I have plasma5 integration, breeze5 and kwayland-integration and it isn't showing correctly for QT5 programs like nheko. This use to work fine on plasma 5.
Offline
I've installed plasma5-integration and Qt5 apps don't have this issue, but I'm having this mouse cursor issue in some GTK apps, in particular apps using wxWidgets.
For instance, I use KiCad, which uses wxWidgets 3.2.4. The default mouse cursor inside its windows is the Adwaita one instead of the one in my current theme. But in wxMaxima (which also uses wxWidgets 3.2.4), mouse cursors are all from my current theme. So I have a hard time figuring out what the difference is.
To give a bit more info, in KiCad, for instance, the default cursor is the Adwaita one, but if I right-click inside a KiCad window (which triggers a context menu), the cursor changes to the current Plasma one. It gets back to the Adwaita one when I close the context menu. Puzzled.
With Plasma 5, I had no such issue.
Offline