Issue metadata
Sign in to add a comment
|
Downloads snackbar shows "Replace File?" interaction even if the file does not already exist.
Reported by
kudiab...@gmail.com,
Sep 23 2016
|
||||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. Download a file using a download link or by long pressing to save 2. Be presented with "Download" snackbar 3. See that despite it being the first time you've downloaded this item you are still presented with the "Replace File" and "Create New option. What is the expected behavior? Check the downloads folder to make sure that the file does not already exist and show "Save" instead of "Replace File" and "Create New". What went wrong? The Browser cannot detect if a file exists already Did this work before? N/A Chrome version: 55.0.2869.0 Channel: dev OS Version: 55.0.2860.0 Flash Version: Shockwave Flash 23.0 r0
,
Sep 24 2016
Nexus 6p Android 7.0 NRD90U Screenshot attached.
,
Sep 26 2016
,
Sep 27 2016
have you checked your download directory to see if the download.jpg already exists? I think you are saving an image that is data uri. As a result, the image's file name will be defaulted to download.jpg. And if you save another image that is data uri again, you will get the overwrite infobar as that file will also have a default filemane download.jpg. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by ppolise...@chromium.org
, Sep 24 2016