Inconsistent cursor size with fractional scaling

Bug #2018603 reported by miromarszal
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons-ng (Ubuntu)
Triaged
Medium
Unassigned
gtk+3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When fractional scaling is enabled (I use 250%), the mouse cursor becomes very large when hovering over the desktop and in some applications. It returns to its normal size when moved over the panel, dock and most Gnome apps (evince is a notable exception here). The issue appeared after the update to 23.04.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: mutter 44.0-2ubuntu4
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri May 5 15:41:32 2023
InstallationDate: Installed on 2019-10-31 (1282 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: mutter
UpgradeStatus: Upgraded to lunar on 2023-05-05 (0 days ago)

Revision history for this message
miromarszal (miromarszal) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Workaround:

  gnome-extensions disable <email address hidden>

affects: mutter (Ubuntu) → gnome-shell-extension-desktop-icons-ng (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: New → Confirmed
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
miromarszal (miromarszal) wrote :

I'm not sure the problem is really in the extension. I tried the workaround of disabling desktop icons, and indeed the cursor went back to normal on the desktop. However, it's still larger than normal in some apps, including evince.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

desktop-icons-ng uses GTK3 so maybe that's the common factor? Basically any older GTK app that has to fake fractional scaling by being over-upscaled and then downscaled in the compositor.

Revision history for this message
Arief Mulya Utama (arief-utama) wrote :

Happen to me here also, 250% fractional scaling. Mouse scaling is off on some applications, such as SublimeText text editor, gnome-terminal (the old one, Console works fine)

Revision history for this message
Arief Mulya Utama (arief-utama) wrote :

Seems the bug only happens when using non integer fractional scaling (such as 2.5x or 250%). When using 2x (200%) mouse still scale ok. And when fractional scaling disabled and setting 200% scaling, also mouse ok.

Found the following errors when setting to 250% fractional scaling :

gnome-shell[4069]: Bug in client with pid 13356: Cursor buffer size (64x64) is not an integer multiple of the buffer_scale (3).

gnome-terminal-[9176]: ../../../gdk/wayland/gdkcursor-wayland.c:242 cursor image size (64x64) not an integermultiple of scale (3)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Fix Released → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.