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

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment
link

Issue 380652: "Ask where to save each file before downloading" does not kick in for all file types

Reported by alex.spl...@gmail.com, Jun 4 2014

Issue description

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

Example URL:
e.g. downloading a PDF bank statement

Steps to reproduce the problem:
1. Go to Chrome (advanced) Settings
2. Set a default download location (e.g. C:\Users\Public\Downloads)
3. Check box next to "Ask where to save each file before downloading"
4. When encountering a "Save File" link (or icon) in Chrome, click on it and download the file
5. The downloaded file appears on the left bottom of your Chrome window, with an arrow to open an options menu -- Select the "Always open this file type" option (note this cannot be undone, except under Chrome Settings by pressing "clean auto-opening settings" for all files)

What is the expected behavior?
When "Ask where to save each file before downloading" is selected, unless Chrome is able to display / preview a given file _without_ downloading / storing it locally, it should always pop up the "Save file" dialog to allow the user to control where the local copy goes.
Once a local copy is created (in the desired location!), Chrome can open it no problem into a new tab, should the option "always open" be active...

This will avoid inconveniencing user by either piling up unwanted files inside the default downloads folder, or by having the user then having to separately organize the downloaded files into the appropriate folders. 

What went wrong?
I'm not talking here about exotic file types, I'm referring to PDF documents: sometimes I can choose where to organize them on my computer before downloading, other files are stored without asking and then open directly in a new Chome tab.

Note that for some (PDF) file types, Chrome behaves correctly, either opening the PDF in a new Chrome tab (without downloading!) or opening the "Save File" dialog on the local computer if downloading. 
However, for some files which is supposed to "always open", Chrome instead downloads (i.e. directly stores) the file on the local machine (without asking!) into the default Downloads folder specified under Chrome settings.

Did this work before? No 

Chrome version: 35.0.1916.114  Channel: stable
OS Version: 6.3
Flash Version: Shockwave Flash 13.0 r0

It is up to the developers to decide what menu options to provide under Settings, and for downloaded files, the whole point is:
DO NOT provide an "Always ask where to save ..." option, and then save some files without asking (whether they are seen as temp or permanent copies).
Files in my default downloads folder still take hard disk space, and they do not get deleted automatically after a while. So, if they will be stored and kept locally, might as well be able to choose where!
 

Comment 1 by rponnada@chromium.org, Jun 6 2014

Cc: rponnada@chromium.org
Labels: Needs-Feedback M-35
Thanks for report, followed below steps on Windows7 using: 35.0.1916.114 (Official Build 270117) 

1. Chrome (advanced) Settings and Set a default download location (e.g. C:\Users\Public\Downloads)
2. Checked box next to "Ask where to save each file before downloading"
3. Opened sample pdf file in new tab: http://fzs.sve-mo.ba/sites/default/files/dokumenti-vijesti/sample.pdf
4. Right click > save as > Download pop up > Saved
5. The downloaded file appears on the left bottom of your Chrome window, with an arrow to open an options menu
6. Selected the "Always open this file type" option 
7. Clicked on that file & able to open in new tab
8. Opened another PDf & same happened as above (Step 3 to Setp7)

Could you please let us know what is the problem and where we are missing "Save file" Dialog. 

Could you please provide screen-cats & pdfs where you are faced issue will help in triage further.

Comment 2 by alex.spl...@gmail.com, Jun 11 2014

Hi, and sorry it took me a bit to respond!

I went through my downloads history in Chrome, and was able to identify a
PDF file which causes the problem behavior, and which is also publicly
available (many of the account statements I download from online banking
also cause the same behavior):
http://www.online-protokoll.de/view.php?nr=3187

{Please make sure the steps 5-7 in your follow-up were completed at least
once, so Chrome tries to "Always open this file type" for PDFs of this kind
!!}

I am also including a screen shot of what happens when I click the link to
this file (or alternately paste the above URL into a new Chrome tab). Note
that the same thing happens *on both PCs and Macs* -- file is saved to my
default downloads folder, without me getting a file save dialog, which
would allow me to decide where and with what file name I want it downloaded
locally.​
  Chrome open PDF - store w_o asking.tiff
<https://docs.google.com/file/d/0B8agWA9XM3DEUWZaZ3Bfc2loMk0/edit?usp=drive_web>
​
Please also note that many PDFs do not seem to store a local copy in order
to open directly in the Chrome browser, so the web URL is displayed in the
address bar (as opposed to a local file path).
However, if for files like the one provided above, every time I try to view
them in Chrome a new copy is downloaded on my computer, the undesired
effect is that I then need to manually move / rename / cleanup files.
​
 multiple copies in default downloads folder.tiff
<https://docs.google.com/file/d/0B8agWA9XM3DEQWVNMmpFcVYyOG8/edit?usp=drive_web>
​
Thank you for your help - I hope you can now reproduce the problem and take
the necessary steps to address the unwanted / confusing behavior.

-- Alex

Comment 3 by alex.spl...@gmail.com, Jun 13 2014

Another related issue I noticed today (on my Win8 PC), is that if a file
has the corresponding "Always open this file type" option set to active, it
will reopen in a new tab even when I explicitly choose to "Save"!

Please use the following website to illustrate / reproduce the unexpected
behavior:
http://www.sdk.org/leistungen/glaeubigervertretung/prokon/

Go to the Newsletter links on the right - there are two ways in which this
issue manifests itself:

   1. Right click on one of the Newsletter links and choose the "Save link
   as..." option
      - *Expected behavior*: System save dialog comes up, path and filename
      for the local copy can be chosen
      - *Unexpected behavior*: A new Chrome tab opens after saving is
      complete, displaying the contents of the PDF (I would expect
this to happen
      only if I *left-click* on the link to this file)
      2. Click on one of the Newsletter links, content opens in new tab
   (without a local copy being stored in this case! -- URL bar shows a web
   address, not a local path). Now choose the "Save" icon from the lower right
   menu in the PDF viewer
      - *Expected behavior*: System save dialog comes up, path and filename
      for the local copy can be chosen
      - *Unexpected behavior*: Yet another Chrome tab opens after saving is
      complete, displaying the contents of the PDF (I would expect
this to happen
      only if I *left-click* on the link to this file)

The correct behavior for "Always open" option should be that _only_ when
clicking on a link to such a file, a new tab opens for displaying the
contents, _not_ when explicitly choosing to save the file.

-- Alex


On Wed, Jun 11, 2014 at 5:28 PM, Alex Spletter <alex.spletter@gmail.com>
wrote:

Comment 4 by rponnada@chromium.org, Jun 16 2014

Cc: asanka@chromium.org
Labels: -Needs-Feedback Cr-UI-Browser-Downloads
Status: Untriaged
Able to rwepro this issue on Windows7 using: 35.0.1916.153  with below steps::

1. Chrome (advanced) Settings and Set a default download location (e.g. C:\Users\Public\Downloads)
2. Checked box next to "Ask where to save each file before downloading"
3. Opened sample pdf file in new tab: http://fzs.sve-mo.ba/sites/default/files/dokumenti-vijesti/sample.pdf
4. Right click > save as > Download pop up > Saved
5. The downloaded file appears on the left bottom of your Chrome window, with an arrow to open an options menu
6. Selected the "Always open this file type" option 
7. Clicked on that file & able to open in new tab
8. Opened another PDf::http://www.online-protokoll.de/view.php?nr=3187
9. It is download in to downloads and opened in New tab -- Observed missed the download shelf "Save as Windows"

Confirming this issue for further inputs. 

Same behavior is observed in old builds: 33.0.1750.154

Comment 5 by alex.spl...@gmail.com, Jul 2 2014

Additional issue from #3 also reported as a separate bug ( Issue 390821 )

Comment 6 by rponnada@chromium.org, Jul 7 2014

 Issue 390821  has been merged into this issue.

Comment 7 by rponnada@chromium.org, Jul 7 2014

Cc: qin...@chromium.org abarth@chromium.org

Comment 8 by abarth@chromium.org, Jul 7 2014

Cc: -abarth@chromium.org

Comment 9 by wtc@chromium.org, Jul 21 2014

Labels: -Cr-Internals-Network

Comment 10 by alex.spl...@gmail.com, Jul 21 2014

Is someone working to fix this bug yet?

Basically ever since Chrome has the capability of opening / previewing PDF files in the browser, it will open (new tab) a duplicate copy of an already open file upon a "save" command ( Issue 390821 ), and it will sometimes save an unwanted (additional) copy of the file upon an "open" command ( Issue 380652 ).

This behavior is quite counterintuitive, annoying and putting off the end user!

Please prioritize getting this basic functionally to work straight before turning the attention to other features!

Comment 11 by kimeis...@gmail.com, Dec 16 2014

IE would never download a file unless it asked me where I wanted it 'save as'(maybe it was a setting - not sure).  In chrome 'ask me where to save it' never comes up, it just downloads and I have to go to the downloads folder and transfer it to the appropriate folder.  (extra headache).

Also, I do not recommend 'always open this type of file' for security purposes. I like to scan my downloaded items for virus' before opening.  The opening in a new tab and then going to 'save as' is just an extra step that doesn't seem fruitful.

Comment 12 by solarpow...@gmail.com, Jan 21 2015

Same problem downloading Gmail attachments

Google Chrome	39.0.2171.99 (Official Build) m
Revision	800fe26985bd6fd8626dd80f710fae8ac527bd6b-refs/branch-heads/2171@{#470}
Error Message: None 
Extensions installed: Google Docs, Kaspersky protection
Windows 8.1

Followed these steps:
1. Chrome (advanced) Settings and Set a default download location (e.g. C:\Users\Public\Downloads)
2. Checked box next to "Ask where to save each file before downloading"
3. Opened Gmail account
4. Opened email
5. Clicked on Download arrow on PDF file
6. Does not ask me where to download, immediately downloads to default location

Comment 13 by mmur...@thefamilyconservancy.org, Jan 26 2015

I do not have the "ask where to save" option chosen, but .pdfs from same scanner, same day, some will appear at the bottom of the screen to view or drag to a new email, others will force to save the file, and then access through a file explorer to use attach to new email, etc.  

Seems I have the opposite problem, I don't want to be asked where to download, yet sometimes I am.

Comment 14 by harish.s...@gmail.com, Mar 31 2015

Same problem as Alex. Wonder why this is still untriaged at Chrome. This issue annoys the shits out of me. I get lots of work email attachments, primarily pdfs, on my corporate gmail.

This is the only reason I am shifting to Firefox. Will come back once this is fixed.

Comment 15 by Deleted ...@, May 29 2015

same issue! Even with opton marked to ask, files are just saved to downloads!

Comment 16 Deleted

Comment 17 by Deleted ...@, Jun 5 2015

same problem here guys, i want to chose the location to save each file

Comment 18 by Deleted ...@, Jul 9 2015

I have this problem too, it's a real pain!!

Comment 19 by sunni.fr...@gmail.com, Jul 14 2015

Me, too.  I thought it was the bank's problem.  They've been working on it.  They ended up telling me it's not their problem.

Comment 20 by Deleted ...@, Jul 29 2015

I am having the opposite problem - I don't care if it saves, I just want the file to automatically open - any thoughts on this?  No matter what I do, I have to select a save location.  I've got the advanced settings correctly set - it shouldn't be asking me for a save location!

Comment 21 by Deleted ...@, Sep 16 2015

This is getting f***ing annoying, I want to DOWNLOAD a pdf from gmail, I don't care to view it, I just want to DOWNLOAD it, and to be precise, I'd like it to be downloaded in THE FOLDER OF MY CHOICE.

What's currently happening is: 
I click the download link in the mail.
It does NOT prompt a window asking me where to download.
It automatically downloads the file into the default folder.
Then, it opens it in the browser pdf viewer.

Is it really so difficult to make such a basic feature as "always ask where to download" work? 
It shouldn't since EVERY OTHER BROWSER DOES IT ALREADY, EVEN THE OLDEST INTERNET EXPLORER VERSION DID IT FINE.

Fix that for christ's sake, ONE FULL YEAR this thread has been open... -_____-

Comment 22 by alex.spl...@gmail.com, Sep 16 2015

Sorry, dude I have to strongly disagree with you -- it's been way over a
year since, after months of frustration, I opened this ticket. So, if you
want to complain, get in line! (or switch to Firefox)

Maybe you just don't understand the complexities of developing an internet
browser and of managing large software projects in a giant corporation.

It took Chrome much less time to catch up with Firefox in market share (so
to develop the browser itself) than to fix this one particular bug. Just to
put it in perspective!

So be thankful that this a Google product (the "don't be evil" and "put the
users first" company) and not one from Microsoft.

Are we chill now? Pls. check back in another year!

Comment 23 by Deleted ...@, Oct 20 2015

I am also encountering this problem.  I guess I'll get in line.

Comment 24 by Deleted ...@, Oct 31 2015

it's also happening to me. The files get downloaded into the last known place and then opened.. .usually it's somewhere deep in my google drive folder hierarchy. Totally annoying. 

I have Chrome 'settings' set to put the files in Downloads, and to prompt me, neither of these preferences actually happens!

Comment 25 by Deleted ...@, Nov 10 2015

i don't have choose save location selected for prompt and its prompting me for downloads.

Comment 26 by Deleted ...@, Dec 4 2015

This annoying bug is one of the many reasons I use Iceweasel (Firefox) instead. Occasionally I fire up Chrome, in part to see how it's progressing, and then I'm reminded why I don't use it...

Comment 27 by theoly...@gmail.com, Jan 14 2016

It would be nice if google would fix this. It seems like a pretty basic issue.

Comment 28 by malonso2...@gmail.com, Feb 8 2016

I was having the same issues as the above users. In Chrome settings in the Download section, there was an option to clear defaults or options when opening a certain file type. I cleared it and now the dialog box opens as it is suppose to. My assumption? Clicking always open files types like this etc cancelled out the save to a particular location option. Good luck and hope this helps.

Comment 29 by camerona...@gmail.com, Feb 8 2016

Thanks for the tip #28! The culprit for me was also the auto-open settings. The "Clear auto-opening settings" button in the advanced section of the downloads fixed it. Apparently "Always open files of this type" also means "automatically download it to the default location". Not intuitive, but not a bug

Comment 30 by info.pea...@gmail.com, Mar 7 2016

The suggestion by malonso2... in Comment 27 worked for me as well.  Thank you.

Comment 31 by fabiobor...@gmail.com, May 11 2016

Yes, clearing defaults opening options solved my problem too.
Thanks for sharing malonso2 !

Comment 32 by stanwoo...@gmail.com, May 19 2016

Chrome PDF extension STILL doesn't prompt where to save downloads despite being directed to do so.  Quite annoying.

Comment 33 by toby.m...@gmail.com, May 30 2016

I still see this problem (50.0.2661.102 m on Win7) But don't see the option mentioned by #28. Which is pretty frustrating.

Comment 34 by alex.spl...@gmail.com, Nov 5 2016

No, the suggestion in Comment 28 by malonso doesn't work except for a very limited number of cases...

Personally, I was born in 1980, do you think I'll live to see this fixed?

Comment 35 by alan.win...@gmail.com, Nov 16 2016

The problem still exists.  Is it typical for bugs like this to be ignored for years?

Comment 36 by asanka@chromium.org, Dec 8 2016

Status: WontFix (was: Untriaged)
Sorry folks, but this is going to be a WontFix.

The "Always open" option is meant to minimize friction for users who just want to open a downloaded file without any extra work. If the website supports initiating a download with a single click via a Content-Disposition header or a @download attribute on an anchor, then the browser downloads and opens the file without any additional user interaction.

If the "Ask where to save each file before downloading" setting is also enabled, the "Always open" setting takes precedence. This is consistent with the assumption that the "Always open" setting indicates a desire to open the resource without any further interaction. The file chooser will show up for all other file types as expected.

While this works for [we believe] most users, understandably this doesn't work for others.

One option for customizing how downloads are handled and when file choosers are presented is to control this via a Chrome extension. The chrome.downloads extensions API allows controlling this behavior and is the preferred method to workaround the "one size doesn't really fit all" problem.

Sign in to add a comment