After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778593 - Window scaling and mouse cursor size are applied too late during gnome-shell loading process
Window scaling and mouse cursor size are applied too late during gnome-shell ...
Status: RESOLVED DUPLICATE of bug 765196
Product: gnome-shell
Classification: Core
Component: general
3.22.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-02-14 07:18 UTC by Roman
Modified: 2017-02-14 09:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Roman 2017-02-14 07:18:34 UTC
I am running Antergos Linux (64-bit) with Gnome version 3.22.2 at 4K resolution.
I have Tweaks -> Windows -> HiDPI -> Window Scaling is set to 2 and my mouse cursor size is set to 48 (gsettings set org.gnome.desktop.interface cursor-size 48).

I noticed that both window scaling and mouse cursor size are applied too late during gnome-shell loading process, that causes some extensions to set their sizes in regular, not scaled, pixels. For example, one of the extensions I use, called dash-to-panel, was not setting its size correctly during startup, but was doing it correctly after restarting gnome-shell by typing 'r' in the "Enter a Command" dialog due to this issue. The author of the extension created a workaround for this issue by listening to the scaling change event and refreshing the panel. You can find the issue discussed here https://github.com/jderose9/dash-to-panel/issues/57

The other issue is also related to scaling, but of a mouse cursor. Even with ALL extensions disabled I can clearly see that my mouse cursor is tiny (24px at 4K) when I hover over the top panel just after gnome-shell has finished loading. The problem disappears after moving my mouse cursor around the screen for some time and hovering it over the top panel again.

I don't have deep understanding of how the scaling works, but I think the problem is in timing, the setting should be applied before anything is drawn on screen.
Comment 1 Debarshi Ray 2017-02-14 09:29:43 UTC

*** This bug has been marked as a duplicate of bug 765196 ***