[Bug]: Huge cursors in bottles
Describe the bug
As the image shown, the cursor is huge in bottles.
After updating gtk4 4.18.5, the cursor size in other gtk4 flatpak apps such as flatseal have been fixed. However, in bottles, it still keeps its huge size. Hope it can be fixed.
To Reproduce
- Run bottles.
- The cursor becomes huge when I in bottles app.
Package
Flatpak from Flathub
Distribution
Arch linux
Debugging Information
Official Package: true
Version: '51.21'
DE/WM: plasma
Display:
X.org: true
X.org (port): :1
Wayland: true
Graphics:
vendors:
amd:
vendor: amd
envs:
DRI_PRIME: '1'
icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
prime:
integrated: null
discrete: null
Kernel:
Type: Linux
Version: 6.14.5-zen1-1-zen
Disk:
Total: 32442757120
Free: 32442593280
RAM:
MemTotal: 60.4GiB
MemAvailable: 53.6GiB
Bottles_envs: null
Troubleshooting Logs
(bottles:2): Gdk-WARNING **: 23:31:37.292: ../gdk/wayland/gdkcursor-wayland.c:210 cursor image size (32) not an integer multiple of theme size (24)
Additional context
No response
I was running into the same issue on Kubuntu 25.04. (wayland) as well until i changed the permissions of bottles in the settings.
Under the "sockets" permissions tab de-select all except for the following:
I was running into the same issue on Kubuntu 25.04. (wayland) as well until i changed the permissions of bottles in the settings. Under the "sockets" permissions tab de-select all except for the following:
Yep, it is a wayland issue. After updating gtk4 4.18.5, other gtk apps no longer have this issues. Not sure why this issue still exists in bottles.
https://blogs.kde.org/2024/10/09/cursor-size-problems-in-wayland-explained/
You can try running the app with the environment variable:
GTK_USE_PORTAL=1
I just have it setup globally in my system since gtk apps (specially libadwaita apps) outside of GNOME are just painful to use.