New issue
Advanced search Search tips

Issue 634004 link

Starred by 3 users

Issue metadata

Status: Archived
Owner: ----
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Unable to set Zoom to get 1:1 with my display

Reported by jer...@duckware.com, Aug 3 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36

Steps to reproduce the problem:
1. run Chrome on a Win7 system with OS scaling at 1.25
2. visit https://bjango.com/articles/min-device-pixel-ratio/ in Canary and try to get device pixel ratio set to "1.0" (must set zoom to 80%)

What is the expected behavior?
Should be able to adjust zoom to 80% to obtain a device pixel ratio of "1.0"

What went wrong?
In Chrome stable, my zoom is set to 125%, and I can just set zoom back to 100%, but now in Canary, zoom of 100% is really a zoom of 125% -- and then there is no 80% zoom level in Chrome -- to get back to "1.0".

Chrome must add "1/device_scale" (no matter what device_scale is on that PC) into the list of available zoom values for the user.

Did this work before? Yes Just prior to recent code changes in issue 485650

Chrome version: 54.0.2817.0  Channel: canary
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 

Comment 1 Deleted

Comment 2 Deleted

This issue was caused by https://codereview.chromium.org/2157243003

The quick fix for this issue is to add 1/device_scale into Chrome's zoom list.

However, with a device zoom of 1.25, I can't use zoom to set a devicePixelRatio of 1.5 or 2.0 either.  Set device scale to 1.25 and visit http://www.duckware.com/test/chrome/devicepixelratio.html to test this.
Labels: Needs-Feedback
jerryj@Could you please confirm whether we can close this issue as it is fixed as per comment #3?
Where is 1/1.25 (80%) in the zoom list?  What rev did Chrome add this zoom level into Chrome?

Also, where are the X/1.25 zoom levels, where X is 2,3,4,5?  So that I can get these pixel ratios?

The preset zoom levels -- with a Windows system DPI of 125%, or device scale of 1.25 -- make very little sense.  The zoom levels are not just hard coded up front constants, but rather vary depending upon the actual OS zoom level set, that Chrome (now) that considers 100%!

You can ONLY mark this issue fixed after you set your Windows OS DPI to 125%, visit http://www.duckware.com/test/chrome/devicepixelratio.html with a stock Canary, and confirm the initial devicePixelRatio is 1.25, and then you can use page zoom to obtain devicePixelRatio of 1, 1.5, 2, 3, 4, 5.
Project Member

Comment 6 by sheriffbot@chromium.org, Aug 12 2016

Labels: -Needs-Feedback Needs-Review
Owner: ssamanoori@chromium.org
Thank you for providing more feedback. Adding requester "ssamanoori@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Review
Owner: ----

Comment 8 by jer...@duckware.com, Aug 24 2016

what is the status of this issue?

Comment 9 by jer...@duckware.com, Aug 29 2016

Is there is a reason no one is looking into this?  This used to work just fine and was busted by recent changes in chrome.
This used to work in Chrome.  But now Chrome is busted.

No one listening?  No one cares?  something else?
Project Member

Comment 11 by sheriffbot@chromium.org, Oct 2 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment