Closed Bug 1296931 Opened 5 years ago Closed 9 months ago

Feature request : please add a about:config option for enabling a save as file browsing dialog.

Categories

(Firefox for Android Graveyard :: General, enhancement, P3)

All
Android
enhancement

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ytrezq, Unassigned)

Details

Attachments

(5 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; Trident/7.0; rv:11.0) like Gecko Presto/2.12.378 Opera/12.50
Firefox for Android

Steps to reproduce:

Try to save an mp4 file that is without the correct content‑type header. This is the wanted behaviour since the file is copyrighted media that was forgot there.


Actual results:

Firefox didn’t honored the download= attribute of the <a> element I build. As a result the mp4 video was stoping each 30s because my connection is too slow for watching. 

There’s no way to save it to my ꜱᴅ card directly http://android.stackexchange.com/q/154170/87784


Expected results:

As detailed on https://support.mozilla.org/fr/questions/792670 this the wanted behaviour to avoid confusing the dumb user.

Add‑ons proposing the save as functionality don’t let me to browse and select the target folder (and of course by design too they can’t)

So what about having this feature existing but disabled by default ? The only way to enable it would be to use an option in about:config

Or as an alternative, no longer require the write permission to the ꜱᴅ card since nothing can be written to ꜱᴅ card.
Severity: normal → enhancement
OS: Unspecified → Android
Hardware: Unspecified → All
Component: Untriaged → General
Product: Firefox → Firefox for Android
Currently, the way to download to ꜱᴅ card is very user unfriendly, bacuse https://support.mozilla.org/en-US/questions/978679 needs to performed each time the target folder needs to be changed

and this doesn’t let to browse files before doing it.
Firefox has supported <a href="foo" download> since Firefox 20. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#Attributes

Android does not ship with a file browser. about:config is not intended for general use.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
(In reply to Kevin Brosnan [:kbrosnan] from comment #2)
> Firefox has supported <a href="foo" download> since Firefox 20.
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#Attributes
> 
> Android does not ship with a file browser. about:config is not intended for
> general use.

Disagree, the download attribute doesn’t work for mp4 files served without the required ʜᴛᴛᴘ headers for downloading.

However, you’re right with the file browser. I admit I got confused with the feature of opera mini and chrome. See the screenshots. They really look a true file browser.
So firefox would needs to implement it’s own browsing part that allow to create folders rename files etc…
But again this isn’t something that can be done at the add‑ons level… not with the current ᴀᴘɪ for android.
Flags: needinfo?(kbrosnan)
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Summary: Feature request : please add a about:config option for restoring a save as dialog. → Feature request : please add a about:config option for restoring a save as file browsing dialog.
Summary: Feature request : please add a about:config option for restoring a save as file browsing dialog. → Feature request : please add a about:config option for enabling a save as file browsing dialog.
Priority: -- → P3
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago9 months ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
Flags: needinfo?(kbrosnan)
You need to log in before you can comment on or make changes to this bug.