Created attachment 139604 [details]
Dummy GTK window.
With a HiDPI screen and using wayland, GTK apps show pixelated cursors.
STEPS TO REPRODUCE
1. Run any GTK application (such as the attached one).
Crisp cursor such as the ones in QT applications.
Operating System: Fedora 34
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.11-300.fc34.x86_64
OS Type: 64-bit
Graphics Platform: Wayland
This happens independently of the GTK cursor theme in use.
The scale is supposed to be updated via `pointer_surface_enter` / `pointer_surface_leave`, but that doesn't get called, so it remains one forever: https://gitlab.gnome.org/GNOME/gtk/-/blob/981a638b01c2ae0fe4d15b6b97667679978a94fc/gdk/wayland/gdkdevice-wayland.c#L4579
pointer_surface_enter is not called because kwin doesn't send wl_surface::enter/leave events.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwayland-server/-/merge_requests/254
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1128
Hmm, it seems like the bug report wasn't auto-closed because the commit has no BUG keyword.