fenix icon indicating copy to clipboard operation
fenix copied to clipboard

External Download manager support

Open Daplugg23 opened this issue 6 years ago • 22 comments

Add support for idm+ and adm download manager. In fennec if I saved files it would recognize the external download manager. In Fenix it currently does not work.

What/Requirements

Idm+ app Advanced download manager app

┆Issue is synchronized with this Jira Task

Daplugg23 avatar Jan 11 '20 15:01 Daplugg23

Android Components issue: https://github.com/mozilla-mobile/android-components/issues/4772

NotWoods avatar Jan 12 '20 07:01 NotWoods

On a related note, I dont see a downloads manager in ff preview nightly? It it hidden? Not implemented yet?

test2a avatar Mar 09 '20 03:03 test2a

Any update on this? It was one of Fennec's best features.

astarq avatar May 24 '20 13:05 astarq

@vesta0 what is the priority on this ticket?

Amejia481 avatar May 25 '20 14:05 Amejia481

It hasn't been prioritized.

vesta0 avatar May 26 '20 03:05 vesta0

It hasn't been prioritized.

Thanks :)

Amejia481 avatar May 26 '20 13:05 Amejia481

@vesta0 I request you to please prioritise this feature soon and implement it, this is really important for me as the large downloads most of the time have time limit to them and after that the links to them expire and I have to download the whole file again. Third-party download managers make it easy to refresh the download links and I can start the download where it stopped and save a lot of mobile data.

None of the browsers I have come across have the link refreshing feature. So this feature would be really really useful.

Edit: I have opened a new issue #10950 for requesting a built-in way to refresh expired download links. If possible please consider it.

ghost avatar May 27 '20 08:05 ghost

Since the original comment lists two proprietary download managers, I just want to mention that there are proper free and open source download managers available on F-Droid.

Aria2App (open source) (Aria2App allows you to handle your downloads on aria2 wherever you are!) - https://f-droid.org/app/com.gianlu.aria2app

Download Navi (Download Navi is a free and Open Source download manager for Android 4.4+) - https://f-droid.org/app/com.tachibana.downloader

If at all Fenix advertises support for download managers, they should be FOSS ones.

opusforlife2 avatar Jun 18 '20 13:06 opusforlife2

Does anyone know when this feature is coming to Fenix? This is really important for me and it's the only reason I'm not yet completely moving from other browsers.

Please bring this feature soon to Fenix.

Thanks!

ghost avatar Jul 18 '20 12:07 ghost

Does anyone know when this feature is coming to Fenix? This is really important for me and it's the only reason I'm not yet completely moving from other browsers.

Please bring this feature soon to Fenix.

Thanks!

And Also, the https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-634508932 is mine; it's from my previous account.

ghost avatar Jul 18 '20 12:07 ghost

We are adding support for this on https://github.com/mozilla-mobile/android-components/pull/7923 but we need UX feedback as we need to expose a setting for activating it. Should we just add another setting under the "Advance" section?

image

Amejia481 avatar Jul 30 '20 11:07 Amejia481

@Amejia481 There was this behaviour I noticed a few weeks ago (I have since been upgraded to the new Firefox) on the old Firefox browser that when downloading the file it used to bring a dialogue which contained the Firefox browser and other apps that I can download from like ADM but the browser used to begin the download as immediately as I pressed the link even when I have not select any apps yet -- I noticed it because my internet usage spiked as soon as I pressed the download link with internet speed measuring apps like Internet Speed Meter, is the new browser also behaving the same as the previous old browser? The old browser was wasting data.

And also I think it'd worth refering the Kiwi browser's implementation (https://github.com/kiwibrowser/src) on how they're handling it since it is also open-source and handles the external download manager very efficiently and I think flawlessly too. When adding support for external download managers they said they are in contact with third-party download manager developers on how this would need to be implemented (IIRC, they (Kiwi Dev(s)) said they'd need to pass some cookies to the ADM download manager to make the download work correctly in ADM when the link gets passed on to it).

And also I'd say to keep the dialogue for 'Download with third party apps' after the 'Open links in apps' so it becomes such that users options (Add-ons, Open in apps etc.) are first and developer options (like Remote debugging, etc.) are at last.

You might also consider moving developer specific options (Leak canary, Remote debugging via USB, etc.) to a separate section. As general users, I think, might not use them and mistakenly even enable them accidentally.

ghost avatar Aug 04 '20 04:08 ghost

@Amejia481 There was this behaviour I noticed a few weeks ago (I have since been upgraded to the new Firefox) on the old Firefox browser that when downloading the file it used to bring a dialogue which contained the Firefox browser and other apps that I can download from like ADM but the browser used to begin the download as immediately as I pressed the link even when I have not select any apps yet -- I noticed it because my internet usage spiked as soon as I pressed the download link with internet speed measuring apps like Internet Speed Meter, is the new browser also behaving the same as the previous old browser? The old browser was wasting data.

The initial feature is going to work as is shown in this video, if you selected in settings that you want to download files with third party apps, every time that you download a file a dialog is going to show allowing you to select with which app you want to download. In a follow up, we are going to introduce the functionality for selecting a preferred app for download a type of file you can find more info here https://github.com/mozilla-mobile/android-components/issues/7943 and a setting where you can change your previous selection.

And also I think it'd worth refering the Kiwi browser's implementation (https://github.com/kiwibrowser/src) on how they're handling it since it is also open-source and handles the external download manager very efficiently and I think flawlessly too. When adding support for external download managers they said they are in contact with third-party download manager developers on how this would need to be implemented (IIRC, they (Kiwi Dev(s)) said they'd need to pass some cookies to the ADM download manager to make the download work correctly in ADM when the link gets passed on to it).

Thank you for the reference :)

And also I'd say to keep the dialogue for 'Download with third party apps' after the 'Open links in apps' so it becomes such that users options (Add-ons, Open in apps etc.) are first and developer options (like Remote debugging, etc.) are at last.

You might also consider moving developer specific options (Leak canary, Remote debugging via USB, etc.) to a separate section. As general users, I think, might not use them and mistakenly even enable them accidentally.

Great feedback, the UX team will help us with the decision :).

Amejia481 avatar Aug 04 '20 13:08 Amejia481

Assigning to @brampitoyo - If this requires more effort than UX feedback, please update the flag to needs:UX-investigation and remove needs:UX-feedback. Thanks!

AmyYLee avatar Aug 04 '20 15:08 AmyYLee

@Amejia481 I would advise adding a new menu item under Settings → Advanced.

  • This item should be a toggle
  • This item should be positioned below “Open links in apps”
  • String: “Use external download manager”
    • @betsymi, while I worry about the word “external” being too jargony, we also know that the usage of download managers is very likely limited only to advanced users.

Looking towards the future when we have more download-related settings (e.g.: select default download folder), we can make a new menu item called “Downloads”. When tapped, it can lead to a sub-page that contains “Use external download manager” as one of the items inside it.

brampitoyo avatar Aug 05 '20 02:08 brampitoyo

Verified as fixed on Nightly 8/12. Tested using ADM and IDM to download different file types and the popup was displayed in order to choose between the Nightly and the external download manager. Devices:

  • Samsung Galaxy Note 10 (Android 10)
  • Google Pixel 3 (Android 11)
  • Huawei MediaPad M2 (Android 5.1.1)

sflorean avatar Aug 12 '20 15:08 sflorean

@Amejia481 Any chance that this would come to the stable version of the the browser anytime soon? Honestly speaking, this would be the only feature that would make my browsing experience almost complete apart from the uBlock Origin support that is already implemented.

Sorry for the interruption and thank you very very much for adding this feature.

Edit: Also in the Nightly I tested it doesn't look like the mocks posted here: https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-668949688

ghost avatar Aug 14 '20 13:08 ghost

Well, yeah? Now that the stable version of Fenix is rolled out, the normal feature train is probably back on track. Nightly -> Beta -> Release, except for things like about:config which are explicitly blocked for now.

opusforlife2 avatar Aug 14 '20 13:08 opusforlife2

@Amejia481, @sflorean

I want to point out this:

From the above https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-674085844:

Also in the Nightly I tested, it doesn't look like the mocks posted here: https://github.com/mozilla-mobile/fenix/issues/7620#issuecomment-668949688

ghost avatar Aug 15 '20 00:08 ghost

@Amejia481, @sflorean

I want to point out this:

From the above #7620 (comment):

Also in the Nightly I tested, it doesn't look like the mocks posted here: #7620 (comment)

Could you please add a screenshot?

sflorean avatar Aug 17 '20 09:08 sflorean