Hi Carlos,
Thank you for all the careful testing, especially the xeyes check and your
Discord and Postman experiments, because they made it possible to trace exactly
where the small cursor comes from. Your laptop screen runs at 133% and the
external screen at 100%, so the desktop draws X11 apps at double size and
halves them on the external screen, and it tells those apps to use a cursor
twice the normal size to make up for it, which is why xeyes looks right.
The Discord and Postman snaps look for the system cursor style inside their own
sandbox, and when they cannot find it they fall back to a basic cursor with a
fixed small size, which the halving then makes tiny, and that is also why
XCURSOR_SIZE made no difference.
I am setting this bug to Invalid, because the desktop appears to be sizing the
cursor correctly and the fault lies in how these two snaps are packaged. For
Discord, "sudo snap connect discord:icon-themes gtk-common-themes:icon-themes"
should let it find the cursor style and stay in place after updates, so the
extra launch option should not be needed. If you would rather run Discord
natively on Wayland, "sudo snap set discord use-x11=false" does that, although
the snap maintainers note that global shortcuts such as push to talk may stop
working.
The Postman snap is built on a very old base, cannot see your cursor style at
all, and turns Wayland off in its launcher, which is why it crashed when
Wayland was forced. The simplest fix is the full Postman download which runs
outside the sandbox and uses your normal cursor. Another option is a cursor
style the snap carries itself, with "sudo apt install dmz-cursor-theme" and
then "gsettings set org.gnome.desktop.interface cursor-theme 'DMZ-White'", and
"gsettings reset org.gnome.desktop.interface cursor-theme" puts Yaru back.
Postman already has an open report for this on GitHub #10030 - adding your
details there would help.
Please also remove ELECTRON_OZONE_PLATFORM_HINT from
~/.config/environment.d/electron.conf, because recent Electron versions ignore
it and it is what made Postman try Wayland and crash. If VS Code still shows a
small cursor on the external screen after that, please report it at
github.com/microsoft/vscode/issues with the output of "code --version" and
whether you installed it as a snap or a deb, and "code --ozone-platform=x11"
should work around it in the meantime.
That's a lot there, but hopefully it's helpful.
Any issues or these don't work, I'll remain subscribed for a week or so to take
a look. Thank you again.
** Changed in: mutter (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175489
Title:
Mixed-DPI (HiDPI + 1080p) XWayland/Wayland cursor scaling bugs,
Electron Snap crashes, and VS Code lag on Ubuntu 26.04 LTS with NVIDIA
RTX 5070
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2175489/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs