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

Issue 800294 link

Starred by 0 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Unintuitive behavior when "Download PDF files..." enabled and Chrome is the system PDF viewer

Project Member Reported by sandeepkumars@chromium.org, Jan 9 2018

Issue description

Chrome Version: 65.0.3315.0
OS: Mac 10.12.6 and Win 10

What steps will reproduce the problem?
1. Enabled chrome://settings/content/pdfDocuments
2. Enabled "Click to open embedded PDFs".
3. Navigated to http://chrome-pdf-test.appspot.com

What is the expected result?
Able to view the PDF from PDF placeholder

What happens instead?
PDF's keep on downloading even on clicking downloaded PDF (Please find the screencast)

This is just logging for a tracking purpose as same is working fine Linux


 
Mac - PDF.webm
6.1 MB View Download

Comment 2 by laforge@google.com, Jan 10 2018

Cc: -tommycli@chromium.org lafo...@chromium.org
Owner: tommycli@chromium.org
Hey Tommy,

What's the expected behavior for this case?
Hey,

This seems to be a bad case where Chrome is also the default system viewer for PDF.

On my particular (Linux) machine, when you click "View PDF", it opens the Adobe Reader equivalent for Linux.

I'm not sure what the right thing to do when there is no PDF viewer installed other than Chrome. Probably show a dialog saying: "No PDF viewer installed"...

I will have to investigate further.

TE: Can you still reproduce this if you install a different PDF viewer? i.e. Adobe Reader.
@tommycli: Just to update, Able to view the PDF using Adobe Reader.

Thanks!!
Labels: Restrict-View-Google

Comment 6 by laforge@google.com, Jan 11 2018

Labels: -Restrict-View-Google
There isn't anything confidential on this issue, removing the restriction.
sandeepkumars: I have one more test for you to run.

1. Uninstall Adobe Reader, and and verify that you can still reproduce the issue in the screencast.

2. Now disable chrome://flags/#click-to-open-pdf, but keep chrome://settings/content/pdfDocuments enabled.

3. Goto http://chrome-pdf-test.appspot.com and click #1. What happens when you click the downloaded PDF? Is it the same behavior?

I'm trying to figure out if this issue is caused by this feature, or if it's a "pre-existing condition".
Labels: -Pri-2 -M-65 Pri-3
Owner: ----
Status: Available (was: Assigned)
Summary: Unintuitive behavior when "Download PDF files..." enabled and Chrome is the system PDF viewer (was: Unable to view PDF)
I tested this myself, and it's a pre-existing condition predating click-to-open-pdf.

Here's the repro steps (assuming Chrome is also the system PDF viewer):

0. Uninstall all other PDF viewers (make sure Chrome is the system PDF viewer).

1. Goto chrome://settings/content/pdfDocuments and enable "Download PDF files instead of automatically opening them in Chrome"

2. Goto http://chrome-pdf-test.appspot.com and click Case #1, Direct link to PDF.

3. Observe that the PDF is downloaded.

4. Click on the downloaded PDF.

5. Observe that Chrome is the system default PDF viewer... but it just re-downloads the exact same file.

It's unfortunate, and we should fix it -- probably with a modal dialog explaining what's going on. It's existed "forever" though, so it's not time critical.
Labels: Inhouse-HYD-Reported

Sign in to add a comment