Have to click twice on the popup to open/download a local file




Firefox for Android
Download Manager
3 years ago
3 years ago


(Reporter: Duan Yao, Unassigned)


38 Branch

Firefox Tracking Flags

(Not tracked)



(1 attachment)



3 years ago
Created attachment 8621467 [details]

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150511103818

Steps to reproduce:

Navigate to a local file, e.g. "file:///mnt/sdcard/test.docx".

Actual results:

A popup shows up, with options such as "download" and "WPS Office" (an app to open docx); and two buttons below: "download immediately" and "cancel".
(Note: texts on the popup above are translated from the Chinese version, so they may differ from the English version)

I have to click on one of the options, and then click the "download immediately" button to actually open/download the file.

Expected results:

Clicking on the one of the options "download" or "WPS Office" should immediately start the operation, no further confirm is needed, and the "download immediately" button can be removed.

Also consider removing "download" option as well, because it doesn't make much sense to "download" a local file. If "download" option would be removed, FF could also lauch the default app immediately if there is one, or allow user to select a default app for that file type.
You need to log in before you can comment on or make changes to this bug.