New issue
Advanced search Search tips

Issue 758108 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Closed: Sep 5
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Chromium does not re-scale when monitor DPI is changed on Linux

Reported by sandle...@gmail.com, Aug 23 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. Install chromium on a Linux machine with a 4k display with scaling set up on it, and another display, with regular resolution
2. Run chromium on the 4k display
3. Disconnect the 4k display, forcing the chromium window to move to the regular display
4. Observe tiny chromium

What is the expected behavior?
Chromium should re-scale it's UI, once a dpi change was detected, like almost any modern Linux application today.

What went wrong?
Chromium does not seem to care for DPI changes, and does not re-scale it's UI accordingly.

Did this work before? N/A 

Chrome version: 59.0.3071.115  Channel: stable
OS Version: Linux zigzag 4.12.6-1-ARCH #1 SMP PREEMPT Sat Aug 12 09:16:22 CEST 2017 x86_64 GNU/Linux
Flash Version: 

Info about my setup:
Laptop: XPS 15 9560
Internal display resolution: 3840x1080
2 Additional displays via TB15 Dock: 1920x1080
OS: Arch Linux 
Kernel: x86_64 Linux 4.12.6-1-ARCH
WM: i3
 

Comment 1 Deleted

Comment 2 by sandle...@gmail.com, Aug 23 2017

Correction, sorry about the mix-up:

In the steps to reproduce, I meant to write them the other way around - open chromium on the regular display, and disconnect it to see tiny chromium on the 4k display, though it doesn't really matter, the other way around, will produce a huge chromium instead.

Internal display resolution is actually 3840x2160
Labels: TE-NeedsTriageFromMTV Needs-Milestone
Could someone from MTV look into this issue as we don’t have the reported configuration. Adding "TE-NeedsTriageFromMTV" label for further triage.
It should also redraw if the window is simply moved from a low-dpi to a hi-dpi screen and vice versa.
Owner: thomasanderson@chromium.org
Status: WontFix (was: Unconfirmed)
Chromium should scale when the system DPI changes now.  Unfortunately we can't rescale when switching monitors at the moment because we get the scale factor from GTK, which is a global setting and not per-monitor.

Please try testing with a native GTK app like gtk3-widget-factory.  If it scales when switching monitors, I want to know about it, because it didn't last time I checked :)

Sign in to add a comment