Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Huge cursors in bottles

Open 1nj0k opened this issue 9 months ago • 3 comments

Describe the bug

As the image shown, the cursor is huge in bottles.

Image

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.

Image

To Reproduce

  1. Run bottles.
  2. 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

1nj0k avatar May 09 '25 15:05 1nj0k

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: Image

xylophoneengine avatar May 09 '25 23:05 xylophoneengine

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: Image

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/

1nj0k avatar May 15 '25 14:05 1nj0k

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.

severtheskyline avatar Oct 10 '25 22:10 severtheskyline