New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 700482 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

With scale factor > 1.0, click to zoom on image is mis-centered

Reported by ivan@ludios.org, Mar 10 2017

Issue description

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

Steps to reproduce the problem:
1. Start Chrome 57/58 on a hidpi display or with --force-device-scale-factor=2.0
2. Open http://i.imgur.com/ywT1Rog.jpg
3. Click on the white nebula at the bottom
4. After zoom, observe that image is centered at the wrong location (not the nebula)

What is the expected behavior?
After zoom, image is centered on the location that was clicked

What went wrong?
Image is centered elsewhere

Did this work before? Yes this probably worked in Chrome 55

Chrome version: 58.0.3029.6  Channel: dev
OS Version: Ubuntu 16.04.2
Flash Version: 

This affects Chrome on both Windows and Linux.

This works fine with --force-device-scale-factor=1.0

This might have regressed when the code landed for displaying images in the center of the viewport instead of at the top-left.
 

Comment 1 by ivan@ludios.org, Mar 10 2017

This does _not_ affect hidpi macOS

Comment 2 by msw@chromium.org, Mar 10 2017

Labels: OS-Windows
Owner: dfalcant...@chromium.org
[On behalf of ivan via IRC request, original message below]
also please add OS: Windows and maybe assign to dfalcantara
likely regressed in the patch on https://bugs.chromium.org/p/chromium/issues/detail?id=650456#c2
Cc: dtrainor@chromium.org
Status: Assigned (was: Unconfirmed)
Is this something your team should be owning now, David?
Cc: -dtrainor@chromium.org dfalcant...@chromium.org
Owner: dtrainor@chromium.org
Re-assigning after discussion with Dave.  Send whoever gets assigned to this to talk to me about where the problem might be.
Cc: dtrainor@chromium.org
Owner: shaktisahu@chromium.org

Comment 6 by ivan@ludios.org, Feb 20 2018

I think this was fixed a few releases ago.  It appears to be centering correctly in 64.0.3282.167 on Linux and Windows.

Sign in to add a comment