Skip to content

Tiny cursor on my HiDPI display on GNOME Wayland with Flatpak Heroic Games Launcher #3236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dariox86 opened this issue Nov 14, 2023 · 3 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@dariox86
Copy link

Describe the bug

On my HiDPI display set at 200% scaling, the cursor shrinks when hovering on Flatpak Heroic Games Launcher in GNOME Wayland. Heroic Games Launcher is started in Wayland mode using the parameters to avoid XWayland.

Add logs

I think no logs are necessary. The issue can be easily reproduced.

Steps to reproduce

On GNOME Wayland with scaling set at 200% on a HiDPI display, launch Flatpak Heroic Games Launcher with the following command:
$ flatpak run --branch=stable --arch=x86_64 --command=heroic-run --file-forwarding com.heroicgameslauncher.hgl --ozone-platform-hint=auto --disable-features=WaylandFractionalScaleV1

The cursor becomes tiny when hovering Heroic Games Launcher.

Expected behavior

The cursor should stay the same size as when it is not hovering Heroic Games Launcher.

Screenshots

No response

Heroic Version

Latest Stable

System Information

Parabola GNU/Linux-libre.

Additional information

The problem goes away after issuing the following command:

$ flatpak --user override --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons com.heroicgameslauncher.hgl

I think this bug report and the related commit are relevant.

Steam has the same permission mentioned in the bug report.

@dariox86 dariox86 added the bug:unconfirmed Someone works on identifying the issue label Nov 14, 2023
@Kajot-dev
Copy link
Contributor

I think this is not Heroic related but an upstream Chromium bug introduced in 116 and ported to Electron: https://bugs.chromium.org/p/chromium/issues/detail?id=1477948&q=cursor%20wayland&can=2

@arielj
Copy link
Collaborator

arielj commented Nov 16, 2023

I imagine we have to close this since we can't really do anything. Eventually chromium will fix that, then electron, then we'll update the electron version, but we have no control over when the fix will actually happen.

@regs01
Copy link

regs01 commented Oct 19, 2024

For those who are looking for solution for X11 as well.
ocs-url (Pling, i.e. Gnome Look, Xfce Look, KDE Store etc) installs cursors into ~/.icons, but Flatpak is looking for them in ~/.local/share/icons. So just move or copy folders from ~/.icons to ~/.local/share/icons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

4 participants