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

Issue 617629 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

Chrome browser - Blank print preview with Chrome App on iPad Air iOS 9.3.1

Reported by yyefet@chromium.org, Jun 6 2016

Issue description

Version: 50.0.2661.95
OS:  iOS version 9.3.1 (iPad Air model is MD788B/B)

Description:
- Enterprise customer is unable to generate PDFs from their Salesforce account on Chrome Browser for Ipad.
- Other PDFs open with no issue. 
- The customer provided a sample PDF.
- The issue also occurs with Chrome on iOS 9.3.2. 
- It seems as if something goes wrong when encoding the PDF from Chrome for the iOS system print preview.


What steps will reproduce the problem?
1. Click on a link to open a PDF document.
2. When the PDF opens on a new tab, open the options menu.
3. Click the ‘Print’ option for this tab
4. On the print preview page, the preview is completely empty. When printing the document, the page will also be blank.

Note:
- The customer has tested the exact same steps on Safari on iPad and does not experience the issue.
- Issue also persisted on incognito tab on Chrome. 


What is the expected output?
PDF should generate and should display in print preview and print the contents.

What do you see instead?
PDF does not generate, blank print preview, printer prints a blank page.

PII Protected sample document:
https://drive.google.com/a/google.com/folderview?id=0B6fESMmJITTNUWhZazkyS2xWYUU&usp=sharing

 
Labels: Hotlist-Enterprise
Owner: gch...@chromium.org
Status: Assigned (was: Untriaged)

Comment 3 by gch...@chromium.org, Jun 10 2016

This may be because we are currently validating whether or not to print using the PDF print flow by using the path extension. So, if the URL does not end in ".pdf", it does not work. 

Comment 4 by gch...@chromium.org, Jun 27 2016

Labels: -M-50 M-54
Cc: gch...@chromium.org
Owner: pkl@chromium.org
Not going to be able to dig into this in the near term, but we should fix. Assigning to pkl for retriage.

Comment 6 by pkl@chromium.org, Sep 6 2016

Cc: jasonkliu@chromium.org mard...@chromium.org
Cc: pinkerton@chromium.org
Is there an estimated level of effort for the fix? 
Looks like it might be happening in limited situations only? (comment #3)
It is not completely clear what the exact failure is that was reported, since we do not have access to the original test case hosted on salesforce. But, the reason why the PDF hosted on Google Drive fails is that the Google Drive URL does not end in ".pdf". 

So, the fix involves finding another way to determine if the page that is loaded is a PDF. I looked into a bit more, and I think the best option would be to pass web state to the print code, and get the MIME type from there. Assuming this fix works, then it would take <1 day. If not, then it would take a few days. 

Comment 9 by pkl@chromium.org, Sep 30 2016

Cc: pkl@chromium.org
Labels: -M-54
Owner: ----
Status: Available (was: Assigned)
M55 is branching soon. This currently not high on our list, but if this is still important for Enterprise, please let us know and we can consider it for either M56 or M57.
Components: -Internals>Plugins>PDF
Removing PDF component because the Chrome PDF Viewer does not exist on iOS.
Components: -UI>Browser>PrintPreview Internals>Printing
Print preview doesn't exist on iOS, so this isn't Print Preview... labeling printing for now, not sure if there is another component that would be better.
Project Member

Comment 12 by sheriffbot@chromium.org, Jul 30

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
Status: WontFix (was: Available)

Sign in to add a comment