Scale between HiDPI and LoDPI screens on Linux
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: ryan, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
819.42 KB,
image/png
|
Details |
Updated•8 years ago
|
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Apparently, I cannot edit the tracking info, but I think this bug blocks bug #635134 - [meta] Firefox Wayland port.
Comment 3•5 years ago
|
||
Marking this "New" based on Lindsay's comment and add as a blocker to bug 635134 based on Jan's comment.
Comment 4•5 years ago
|
||
X11 does not support correct Hi/Lo DPI scaling across monitors, you need to use Wayland for it.
Comment 5•4 years ago
|
||
The dependency should be the other way around: this works on Wayland, so this is blocked by bug 635134
Comment 6•4 years ago
|
||
Still an issue. In my case a Dell XPS 9310 (running 3840x2400) connected to a external monitor (running 1920x1080). Dragging a Firefox window from laptop to external display exhibits this issue, whereas other apps (terminal, files) do not.
Comment 7•4 years ago
|
||
(In reply to mark.drovdahl from comment #6)
Still an issue. In my case a Dell XPS 9310 (running 3840x2400) connected to a external monitor (running 1920x1080). Dragging a Firefox window from laptop to external display exhibits this issue, whereas other apps (terminal, files) do not.
Tinkering a bit, and I believe this is captured above, but perhaps reframing it may help...it appears that Firefox ignores the per display scaling factor for anything except the primary display. That is, Firefox launches scaled to whatever the primary display is scaled at and then does not adjust when the window is moved between displays with differing scaling factors.
Comment 8•4 years ago
|
||
Should have clarified, all my comments above are in regards to Firefox on Ubuntu 20.10 running Wayland.
Comment 9•4 years ago
|
||
Did a little more research...and found a suitable workaround. If I launch Firefox with $ MOZ_ENABLE_WAYLAND=1 firefox
I get proper scaling across displays with different scaling factors. Yay.
Comment 10•4 years ago
|
||
(In reply to mark.drovdahl from comment #9)
Did a little more research...and found a suitable workaround. If I launch Firefox with
$ MOZ_ENABLE_WAYLAND=1 firefox
I get proper scaling across displays with different scaling factors. Yay.
Hehe, right, that's exactly what Martin meant :)
We are getting closer and closer to enabling it by default, but it's still a couple of releases out. Some distributions like Fedora already do so, however. See also bug 1543600
Comment 11•4 years ago
|
||
Removing Wayland tracker as this bug is about X11.
Updated•4 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Hi,
I'm also getting this bug on Ubuntu 22.10 on Wayland. When using a 1080p built-in display and a 4k external display (scaling set to 200% in system settings, fractional scaling disabled) Firefox will use the primary display's DPI (in my case the 1080p display) and the UI elements on the 4k display are tiny. Other apps (like the settings app) adjusts scaling when moved from one display to the other, but Firefox does not.
Here is an example of how it looks if the 1080p display is the main display:
And here with the 4k display being the main display:
Description
•