Mouse cursor changes size when it hovers over some applications

Original Post

I’ve had a similar issue in the past (KDE Plasma 5), which was perfectly solved by this solution, but, unfortunately, since updating to KDE Plasma 6, it has reappeared in the form of the mouse cursor changing its size when it hovers over certain applications.

For example:

Small cursor:

https://sh.itjust.works/pictrs/image/421d5692-96b4-48e2-a060-1ecb913ab9f4.png

Large cursor:

https://sh.itjust.works/pictrs/image/488bc4c8-5be3-4adc-aa69-753986515746.png

I have so far observed this behaviour with KeePassXC (v2.7.6, Flatpak), Nextcloud Desktop (v3.12.1, Flatpak), and KWrite (v23.08.5, Flatpak).

I have tried reverting the afformentioned workaround for the previous issue, but then the old issue returns, only without this new sizing issue. How do I fix this?


  • Operating System: Arch Linux
  • KDE Plasma Version: 6.0.1
  • KDE Frameworks Version: 6.0.0
  • Qt Version: 6.6.2
  • Kernel Version: 6.7.8-arch1-1 (64-bit)
  • Graphics Platform: Wayland

Update (2024-03-09T00:20Z)

This may be an issue with Flatpak. An update to KWrite’s Flatpak just came out, then I ran KWrite to check if the issue was fixed, and it was — the mouse cursor is no longer enlarged when it hovers over the app. I suspect that when an update rolls out for the other two applications the issue will be fixed, but I’ll just have to wait and see.

Bro666 Mod ,
@Bro666@lemmy.kde.social avatar

You must report bugs to bugs.kde.org. Not here. Thread locked.

jtp ,

I fixed a similar cursor issue that started with Plasma 6 in KeepassXC (not the Flatpak version though) by installing extra/breeze5 and extra/plasma5-integration, suggested in this thread. Maybe it will help the Flatpaks too?

domi ,
@domi@lemmy.secnd.me avatar

Same issue here, Plasma 6 has broken Flatpak theming in general for me.

Both the cursor size differs between native and Flatpak applications and also the dark mode is not applied correctly in some applications.

For example, VS Code in Flatpak has white context menus even though dark mode is activated:

https://lemmy.secnd.me/pictrs/image/bbb1bab3-48fd-4df2-8e10-3c981bb5ea48.png

Kalcifer OP ,
@Kalcifer@sh.itjust.works avatar

Yeah, I’m also pretty sure that this is a Flatpak issue — an update for one of the affected Flatpaks came out, and it’s issue with the cursor is now fixed. I suspect that when an update for the other applications rolls out, then they will also be fixed. I’m not entirely sure what went wrong in the Flatpaks with Plasma 6, though — it’s rather interesting. Maybe something got changed in one of the desktop portals?

WeLoveCastingSpellz ,

happened to me too! but I solved it. It happens when using cursor themes that aren’t updated for kde 6. You can find one that is or use the default breeze cursor like I have decided to do

Kalcifer OP ,
@Kalcifer@sh.itjust.works avatar

I am using a default Breeze cursor theme. Specifically, I am using Breeze Light.

furzegulo ,

i have the same problem. for example in kitty (which uses wayland) the cursor becomes larger.

WeLoveCastingSpellz ,

Solution copied from my other comment:

happened to me too! but I solved it. It happens when using cursor themes that aren’t updated for kde 6. You can find one that is or use the default breeze cursor like I have decided to do

Kalcifer OP ,
@Kalcifer@sh.itjust.works avatar

This isn’t a solution. I am using the Breeze cursors. Specifically, I am using Breeze Light.

WeLoveCastingSpellz ,

sorry it didn’t work for you

Kalcifer OP ,
@Kalcifer@sh.itjust.works avatar

Out of curiosity, is kitty installed as a Flatpak?

ElectroLisa ,
@ElectroLisa@lemmy.blahaj.zone avatar

I have the same issue, even at Plasma 5 I’d have my mouse pointer change. This happens only on Wayland though

UnRelatedBurner ,

I don’t have a solution for you, but my immediate thought was that the background was farther away. It’d be kinda cool.

Strit ,
@Strit@lemmy.linuxuserspace.show avatar

Is the app in question an XWayland app? If it is, you need to change the setting for scaling in the Display Settings to something the XWayland apps like (can’t remember which worked best for me).

Kalcifer OP ,
@Kalcifer@sh.itjust.works avatar

Is the app in question an XWayland app?

How do I find this info?

you need to change the setting for scaling in the Display Settings to something the XWayland apps like

I’ve never modified the scaling, though — It’s at the default 100%.

sanpo ,

I think they meant the “let apps apply scaling themselves” setting.

Kalcifer OP ,
@Kalcifer@sh.itjust.works avatar

I tried setting that too, but it didn’t fix it.

sanpo ,

Oh well, maybe it’s a new bug then… Guess I’ll find out over the weekend when I upgrade as well.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • All magazines