Meta bug report to track inconsistent cursor size issues in Plasma Wayland session. Xcursor themes don't support HIDPI natively, so the compositor and apps multiply cursor size by the scale factor, however they all use different strategies for handling the case when the cursor theme has no requested size, some fallback to the closest cursor size, some fallback to default size 24, etc. This results in inconsistent cursor size when moving the cursor between windows.
*** Bug 443661 has been marked as a duplicate of this bug. ***
*** Bug 451158 has been marked as a duplicate of this bug. ***
*** Bug 459146 has been marked as a duplicate of this bug. ***
*** Bug 448555 has been marked as a duplicate of this bug. ***
Now after a gtk3 upgrade (possibly from https://gitlab.gnome.org/GNOME/gtk/-/commit/75d3095a6bb0001682be37c6bb4d42e9bb115d39 ). The cursor is 3 times as big on gtk windows compared to rest of the desktop. Using 24 cursor size and 250% global scaling. Following warnings are printed by gtk apps. (firefox:7952): Gdk-WARNING **: 05:56:17.970: ../gtk/gdk/wayland/gdkcursor-wayland.c:242 cursor image size (64x64) not an integermultiple of scale (3) Any idea how this can be fixed. It is now hard to use gtk apps with the massive cursor
(In reply to nocturne from comment #5) > Now after a gtk3 upgrade (possibly from > https://gitlab.gnome.org/GNOME/gtk/-/commit/ > 75d3095a6bb0001682be37c6bb4d42e9bb115d39 ). The cursor is 3 times as big on > gtk windows compared to rest of the desktop. Using 24 cursor size and 250% > global scaling. Following warnings are printed by gtk apps. > > (firefox:7952): Gdk-WARNING **: 05:56:17.970: > ../gtk/gdk/wayland/gdkcursor-wayland.c:242 cursor image size (64x64) not an > integermultiple of scale (3) > Any idea how this can be fixed. It is now hard to use gtk apps with the > massive cursor It can be fixed by manually editing ~/.config/gtk-3.0/settings.ini and change the line: gtk-cursor-theme-size=24 to gtk-cursor-theme-size=8
*** Bug 435728 has been marked as a duplicate of this bug. ***
*** Bug 471001 has been marked as a duplicate of this bug. ***
I use 36px Breeze cursors at 200% scale. I have rebooted after changing the size from 24px to 36px. ~/.config/gtk-3.0/settings.ini and ~/.config/gtk-4.0/settings.ini both say `gtk-cursor-theme-size=36` ~/.config/kcminputrc says `cursorSize=36` Here's what I see: - Over KWin-drawn titlebars, the cursor is 36px - Over Plasma and KDE apps, the cursor is 48px - Over GTK apps, the cursor is 24px It's a bit of a mess. :)
https://invent.kde.org/plasma/breeze/-/merge_requests/380
*** Bug 474430 has been marked as a duplicate of this bug. ***