SUMMARY Since updating to KDE Plasma 6, the cursor now appears enlarged when it hovers over some applications, namely Nextcloud Desktop (v3.12.1, Flatpak), KeePassXC (v2.7.6, Flatpak), KWrite (v23.08.5, Flatpak). For example: - Here is the mouse not hovering over an application: https://imgur.com/a/E4iHS4v - Here is the mouse hovering over an application (e.g. KeePassXC): https://imgur.com/a/xmC09cq STEPS TO REPRODUCE 1. Open one of the afformentioned applications. 2. Hover your mouse over the application. 3. Observe that the mouse is enlarged. OBSERVED RESULT The mouse is enlarged when it hovers over certain applications. EXPECTED RESULT I would expect the mouse size to remain unchanged when it hovers over any application. SOFTWARE/OS Linux/KDE Plasma: Arch Linux, Kernel v6.7.7-arch1-1 KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION None.
What scale factor (if any) are you using? Do you have the xsettingsd package installed?
> What scale factor (if any) are you using? I am not scaling at all — it is at 100% on all monitors. > Do you have the xsettingsd package installed? I do. Side note, this may be an issue with Flatpak in KDE Plasma 6. An update for KWrite came out, and, after updating, the problem went away for KWrite. I have also noticed that system themes are not being applied to other flatpak applications now e.g. Signal Desktop (as in the menu bar is in a light theme when it should be a dark theme — prior to updating to Plasma 6, it was a dark theme). [I have also heard the same anectode from others]https://sh.itjust.works/comment/9628686).
Are all apps exhibiting this app packaged as Flatpaks? Are any non-Flatpak apps also exhibiting the issue?
If all affected apps are Flatpaks, I suspect the issue has something to do with the KDE runtime having an old version of plasma-integration in it. But that's just a guess at this point in time.
> Are all apps exhibiting this app packaged as Flatpaks? Are any non-Flatpak apps also exhibiting the issue? The only apps that I have noticed issues with, so far, have been Flatpaks — although, it's hard to say, as I essentially only have Flatpaks. As a test, I installed the non-Flatpak version of KeePassXC to see if it had the issue, and it didn't — so I would conclude that the themeing issues that I have seen are only affecting the Flatpak versions of apps, but do note that this is so far a sample size of 1. > I suspect the issue has something to do with the KDE runtime having an old version of plasma-integration in it Perhaps that's why updating the Flatpak version of KWrite removed its issues? Perhaps it updated its runtime.
Another note for an affected app is Signal Desktop (v7.1.1, Flatpak). The mouse cursor doesn't appear to change size when it hovers over the app, but it isn't following the system themeing anymore — the menu bar is a light theme when it should be a dark theme. This issue only started after updating to Plasma 6.
I have found that the issue of a large cursor also exists with Okular (v23.08.4, Flatpak).
Yep, and that's still a KF5 version, presumably using the older KDE runtime.
*** Bug 483131 has been marked as a duplicate of this bug. ***
The Qt5 Flatpak runtime needs to be updated to use plasma-integration 6.0
Okular's flatpak got an update to v24.02.0, and the large mouse cursor issue went away. KeePassXC's flatpak also got an update to v2.7.7, but the large cursor issue remains for it.
Aleix or Albert, do either of you have the power to update the runtime?
It's a MR away! https://invent.kde.org/packaging/flatpak-kde-runtime
I don't know what needs to be done. If you can walk me through it, I'll be happy to submit an MR, but I suspect it would be much faster for someone who already knows how to fix this to do it.
Nico says "The Qt5 Flatpak runtime needs to be updated to use plasma-integration 6.0" which kind of makes me fear it means we have to compile enough Qt6/KF6 on the KF5 runtime to be able to ship plasma-integration, but I'll let him confirm if that's what he means
We only need the qt5 subfolder: https://invent.kde.org/plasma/plasma-integration/-/tree/master/qt5, no Qt6/KF6 needed
I'm only 90% sure that what I'm saying is true, so it should be double checked
Another place where I've noticed the large cursor is at the initial SDDM login screen at boot — it doesn't appear in the lock screen.
It's not only KF5 but Qt5 generic applications (all applications using Qt5) it's not only the cursor theme but plasma style as well. Since Qt5 applications works in plasma 6 as expected, flatpak applications should reuse kwayland-integration and plasma-integration, somehow, IDK how, personally.
(In reply to Nicolas Fella from comment #16) > We only need the qt5 subfolder: > https://invent.kde.org/plasma/plasma-integration/-/tree/master/qt5, no > Qt6/KF6 needed I tried this and was pleasantly surprised that this indeed seems to work both on Plasma 5 and 6. Thanks for the hint! I've just created a MR on the flatpak-kde-runtime repo.