Closed
Bug 1707533
Opened 4 years ago
Closed 4 years ago
[wayland] Custom cursors are downscaled in HiDPI
Categories
(Core :: Widget: Gtk, defect)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
90 Branch
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
The test-case attached behaves differently on Wayland than on any other platform when in HiDPI. On wayland, it shrinks by the DPI scale, but on X11 / Windows / Mac it doesn't
Assignee | ||
Comment 1•4 years ago
|
||
It seems GTK downscales the cursor if the resolution is less than the
device scale, so this makes it consistent with X11 and all other desktop
platforms.
On the example on the bug it seems silly because the cursor is massive,
but on legit examples like:
https://downloads.scirra.com/labs/bugs/cursor-image-set/
This makes the cursor not abruptly change sizes when page zoom changes
for example.
Updated•4 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a19cf8b431ce
Make Wayland custom cursors behave like all other platforms. r=stransky
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/bb1cf116c7a3
GdkScaleFactor was renamed yesterday.
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a19cf8b431ce
https://hg.mozilla.org/mozilla-central/rev/bb1cf116c7a3
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•