New issue
Advanced search Search tips

Issue 607574 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 604146
Owner:
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Landscape PDF's not rotating properly in Chrome 50

Reported by mike.moe...@gmail.com, Apr 28 2016

Issue description

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

Steps to reproduce the problem:
1. Open attached PDF Letter-A-Rotation-Issue.pdf

What is the expected behavior?
The Initial preview of the page should be in Landscape (not portrait)
There is a 90 degree rotation that isn't working.
If you hit the "Print" button the 2nd preview shows correctly.
Works in Chrome 49 and earlier + other browsers and in Adobe Acrobat.

What went wrong?
Letter A is rotated but the page itself is in portrait not landscape.

Did this work before? Yes Chrome 49 and earlier.

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

The page is being rotated for previewing using /AA dictionary (Additional Actions) utilizing the Will Print and Did Print events.

<<
 /Type /Catalog
 /Pages 1 0 R
 /ViewerPreferences<</FitWindow true /PrintScaling /None /PickTrayByPDFSize false /Duplex /Simplex>>
 /AA<</WP<</S/JavaScript/JS(this.setPageRotations\(0, this.numPages - 1, 0\);)>>/DP<</S/JavaScript/JS(this.setPageRotations\(0, this.numPages - 1, 90\);)>>>>
>>

The goal is to rotate for previewing and then not rotate when printing. Let me know if we should be doing this a different way.
 
Letter-A-Rotation-Issue.pdf
1.7 KB Download
Acrobat-Works.jpg
55.5 KB View Download
Chrome-Page-Not-Rotated.jpg
58.0 KB View Download
Here is a picture of the "print dialog" in Chrome which is correct. 
Chrome-PrintDialog.jpg
66.8 KB View Download
Components: -UI Internals>Plugins>PDF
Labels: -OS-Windows -Type-Bug OS-All Type-Bug-Regression
Owner: thestig@chromium.org
Status: Assigned (was: Unconfirmed)
Mergedinto: 604146
Status: Duplicate (was: Assigned)

Sign in to add a comment