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

Issue 810122 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 792775
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , Windows
Pri: 2
Type: Bug



Sign in to add a comment

going to certain image URL's (.jpg) automatically saves/downloads the image to the device

Reported by billdill...@gmail.com, Feb 7 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36

Steps to reproduce the problem:
Issue with Chrome for Windows and also Chrome for Android, when going to certain a .jpg URL, it automatically saves/downloads the image to the device, it should not do this. When I go to the same URL in Edge for Windows 10, it simply opens the image in Edge, as you would expect. Safari for iOS does the same. And when I go to the URL in Firefox for Windows and also Firefox for Android, there is a prompt (screenshots below)

What is the expected behavior?

What went wrong?
the image should not automatically save/download onto the device

Did this work before? N/A 

Chrome version: 64.0.3282.140  Channel: stable
OS Version: 10.0
Flash Version:
 
firefoxprompt.png
26.6 KB View Download
and here is Firefoxs prompt on an Android phone
firefoxandroidprompt.png
115 KB View Download
Components: UI>Browser>Downloads
Can you provide the URL? Given the Firefox prompt, my guess is the site is sending a Content-Disposition header, which is the site telling the browser to force a download.

As for whether the download prompts or not, that's just Chrome's default settings. If you prefer it to prompt you first, just toggle "Ask where to save each file before downloading" under "Advanced" in the settings page.
But what about Chrome for Android? I don't see that setting. This must be the default behavior, which is a problem.

btw toggling that in Chrome for desktop shows a save prompt, thank you. That should be the default setting though! 
Labels: Needs-Triage-M64
Cc: vamshi.k...@techmahindra.com
Labels: Triaged-ET Needs-Feedback
Thanks for filing the issue!

@Reporter: Could you please share a sample URL which helps us to triage the issue in a better way. And could you please check as per comment#2 and let us know the behaviour. Any further inputs from your end helps us to triage the issue in a better way.
Toggling the setting davidben mentions above fixes this issue in my opinion, but then the problems are 1) this setting should be on by default 2) this setting isn’t present in Chrome for Android
Project Member

Comment 8 by sheriffbot@chromium.org, Feb 8 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "vamshi.kommuri@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
It looks like we're showing the save dialog, but we're still trying to save it.  Can you let us know what URL you're trying to view?  Thanks!
dtrainor, toggling on the "Ask where to save each file before downloading" solves the issue, I strongly believe this should be on by default. The problem is that in Chrome for Android, this option is not available, so it's saving automatically by default and there's no way for users to change that!
I haven't shared the URL because it's a photo of a woman in a bikini and I wasn't sure if that is appropriate to post
Project Member

Comment 11 by sheriffbot@chromium.org, Feb 8 2018

Cc: dtrainor@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "dtrainor@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: aboss@chromium.org
Labels: OS-Android
Owner: jming@chromium.org
Status: Assigned (was: Unconfirmed)
@10: It's ok to send the URL here (I appreciate the concern though).  Sometimes the link could have a certain attribute which would tell us to download instead of open, so it's nice to be able to check.

Assigning to jming@ who is adding save-as/where support to Chrome on Android, which should give you what you want as well.

Comment 14 by jming@chromium.org, Apr 25 2018

Owner: ----
Status: Untriaged (was: Assigned)
Mergedinto: 792775
Status: Duplicate (was: Untriaged)
The setting will be added on android as part of the storage location work.
And the other part of this bug is, on desktop Chrome, that "Ask where to save each file before downloading" setting should be on by default! It should not be possible to have a file save to a device without asking a user

Sign in to add a comment