New issue
Advanced search Search tips

Issue 705586 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome
Pri: 2
Type: Bug



Sign in to add a comment

PDF pinch zoom: Zoom out then in during the same gesture leads to incorrect position of PDF content

Project Member Reported by mcnee@chromium.org, Mar 27 2017

Issue description

Chrome Version: 59.0.3050.0
OS: Linux and Chrome OS

What steps will reproduce the problem?
(1) With a touchscreen, open a PDF (e.g. http://www.orimi.com/pdf-test.pdf )
(2) Starting with the PDF content width greater than the width of the viewer, pinch zoom out until the PDF width is less than the viewer's
(3) In the same gesture, start to zoom in

What is the expected result?
The position of the PDF content should be correct.

What happens instead?
The position of the PDF content is incorrect during the zoom in and is only corrected upon the end of the pinch gesture.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/60f6a1eeebb81e29c0a6b351ed2e3c432787fbc4

commit 60f6a1eeebb81e29c0a6b351ed2e3c432787fbc4
Author: mcnee <mcnee@chromium.org>
Date: Thu Mar 30 15:15:25 2017

PDF Viewer pinch zoom: Update state for zoom in following a zoom out.

If we pinch zoom out, we need to update the state we use to calculate
the translation of the PDF content if we proceed to zoom in during
the same gesture.

BUG= 705586 

Review-Url: https://codereview.chromium.org/2781613002
Cr-Commit-Position: refs/heads/master@{#460758}

[modify] https://crrev.com/60f6a1eeebb81e29c0a6b351ed2e3c432787fbc4/pdf/out_of_process_instance.cc
[modify] https://crrev.com/60f6a1eeebb81e29c0a6b351ed2e3c432787fbc4/pdf/out_of_process_instance.h

Comment 2 by mcnee@chromium.org, Mar 30 2017

Status: Fixed (was: Started)

Sign in to add a comment