New issue
Advanced search Search tips

Issue 668386 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 675933
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

popups and menus are too large when using force-device-scale-factor on a hidpi system

Reported by zcyzcy88...@gmail.com, Nov 24 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

Steps to reproduce the problem:
1. Turn Windows to HiDPI(In my case, DPI=150%)
2. Launch chrome with command args:
`chrome.exe --force-device-scale-factor=2`
3. Watch popup&menu.

What is the expected behavior?
Popup&menu's proper zoom is according to the {--force-device-scale-factor} to display.

What went wrong?
Now popup&menu's zoom is 3,
is {Windows's DPI}(150%) multiplied by {--force-device-scale-factor}(2),
is not {--force-device-scale-factor}(2).
It is too big.

Another proof:
When I use {--force-device-scale-factor=1}, popup&menu's zoom is 1.5, not 1.

Did this work before? No 

Chrome version: all  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

In my case, I use Canary, but all versions are buggy.
 
/2016-11-24 15_19_52-Greenshot.png
424 KB View Download
/2016-11-24 15_19_22-Greenshot.png
461 KB View Download
Labels: M-57
Components: -UI UI>HighDPI
Status: Untriaged (was: Unconfirmed)
Tested the same on win10 chrome version 55.0.2883.87 and canary 57.0.2950.0 with the above steps and observed the popup as shown in the screenshot

Confirming the issue to get more inputs on this


668386.png
171 KB View Download

Comment 3 by bsep@chromium.org, Dec 13 2016

Cc: robliao@chromium.org bsep@chromium.org
Labels: -Pri-2 -M-57 Pri-3
Status: Available (was: Untriaged)
Summary: popups and menus are too large when using force-device-scale-factor on a hidpi system (was: UI popup and menu is too big on --force-device-scale-factor>1 && Windows's DPI>1)
force-device-scale-factor is a debug flag so I don't consider any fixes to it to be high priority.

I suspect that they are too big because they are scaling to the font, which is also too large. I know that's a longstanding issue but I don't see another bug related to it.
This bug is fixed on Chrome Canary 59.0.3044.0, Windows 10, DPI=150%.
Thanks!
2017-03-18 17_06_07-Greenshot.png
373 KB View Download
2017-03-18 17_06_10-Greenshot.png
318 KB View Download

Comment 5 by bsep@chromium.org, Mar 18 2017

Mergedinto: 675933
Status: Duplicate (was: Available)

Sign in to add a comment