Skip to content

Tiny mouse cursor in the app window with 125% fractional scaling enabled in Wayland #16679

Open
@archerallstars

Description

@archerallstars

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

The mouse cursor is tiny with 125% fractional scaling enabled in Wayland session, as shown in the screen recording below:

RetroArch.tiny.mouse.cursor.mp4

I tried setting XCURSOR_THEME=Adwaita and XCURSOR_SIZE=32 environment variables to match my system setting, but it doesn't work.

*This issue is not occurring if I force the app to run in XWayland mode.

**This issue is not occurring under Wayland in fullscreen mode, as shown in the screenshot below, but the cursor theme is not matching with the system:

ssssssss

Expected behavior

The mouse cursor scale correctly in Wayland with fractional scaled display.

Actual behavior

The mouse cursor doesn't scale correctly under Wayland with fractional scaled display, and also doesn't respect XCURSOR_SIZE environment variable.

Steps to reproduce the bug

  1. Using Wayland.
  2. Enable fractional scaling.
  3. Open the app in native Wayland mode. See the tiny cursor inside the app window.

Bisect Results

I just start using RetroArch today on PC (usually on my Android box). I am not sure when this happened.

But running the app in verbose mode gives me 2 Wayland related info:

[INFO] [Wayland]: Compositor doesn't support zxdg_decoration_manager_v1 protocol
[INFO] [Wayland]: fractional_scale_v1 enabled

Version/Commit

  • RetroArch: 1.19.0/00b8a5f

I install the app from Flathub.

Environment information

  • OS: openSUSE Tumbleweed, Linux 6.9.3-1-default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions