New issue
Advanced search Search tips

Issue 668738 link

Starred by 8 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug-Regression



Sign in to add a comment

clicking pdf file link downloads and opens it in application without asking to save it

Reported by bud...@gmail.com, Nov 25 2016

Issue description

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

Example URL:

Steps to reproduce the problem:
1. 
2. 
3. 

What is the expected behavior?
usually when chrome is configured with disabled pdf plugin and with ask before downloading file, a click on pdf link will show popup saying do you want to open or save the file.

This behavior was suddenly broken for me with latest dev update

What went wrong?
The file is downloaded and opened without popup notifying me if I want to save the file. This is really bad since I want to control what I open and where I save it so additional popup asking me where to save is necessary

Did this work before? Yes 

Chrome version: 56.0.2924.3  Channel: dev
OS Version: 
Flash Version: Shockwave Flash 24.0 r0
 
Same happens on Windows since Chromium 57.0 Build 2931 (64-bit): with PDF Viewer plugin disabled, the file is downloaded and opened immediately with the external application (in my case Adobe Reader), and if its size is very small you don't even see the bottom download bar.

I'm a little concerned about security, and tried to think of the possible bad situations one could encounter. For example, one could enter a malicious website that triggers an automatic download of an infected PDF, which would be opened immediately. Of course Chrome and the antivirus (or even the external application) could block it, but you can never be 100% sure, especially when ransomware grows in terms of popularity.

I hope this is only a bug or a temporary experiment.
Components: -Internals>Network UI>Browser>Downloads
Labels: -OS-Linux OS-All
Status: Untriaged (was: Unconfirmed)

Comment 3 by dah...@chromium.org, Dec 15 2016

Labels: -Pri-2 Pri-3
Owner: shaktisahu@chromium.org
Status: Assigned (was: Untriaged)
Can you investigate and validate syncing properties?

Comment 4 by bud...@gmail.com, Dec 30 2016

Hi, Any progress on this ticket ? I realize it's not top priority but would be great to gain control over pdf clicking once again. Other option would be to have some workaround ...

Comment 5 by bud...@gmail.com, Jan 13 2017

this bug might be related to https://bugs.chromium.org/p/chromium/issues/detail?id=460379
somehow the "always open with system viewer" option is applied to latest stable/beta/dev versions of chrome and there is no way to disable this option due to bug above.
When clicking pdf link, the download is started automatically which is a problem by itself.
Looks like the bug made it to the stable channel. I can reproduce it on Chrome 56.0.2924.76 (x64). Like Bud said in the last comment, the option "Always open in Adobe Reader" in the download context menu remains checked.
Here's a comment from another ticket:
https://bugs.chromium.org/p/chromium/issues/detail?id=680202#c10

Looks like the changes causing this problem have been reverted. I tried Chromium 58.0.3002.0 and it works as expected: PDF files don't open automatically, and I can enable/disable the "Always open" option without any issue.

Sign in to add a comment