[Bug] Failing/slow downloads
Describe the bug
Downloads from some sites sometimes fail or are really slow when compared to browsers like Firefox or Chrome.
How to Reproduce
I've seen it happening (not always) on at least 2 websites:
- The apk files on this page/site: https://www.celsoazevedo.com/files/android/google-camera/dev-BigKaka/f/dl91/
- The 100MB/1GB test files here: https://sgp-ping.vultr.com/
Steps:
- Go to one of the pages above
- Download a file
- See if it downloads or fails / compare speeds to a different browser
Video:
https://github.com/user-attachments/assets/9d1d72c9-14d1-42a7-ae26-1aaad6b0744a
Expected behavior
- Similar speeds as Firefox, Chrome, etc.
- Download files without failure.
Environment
I can replicate this with:
- DDG App Version: 5.252.0 (Google Play) and 5.250.1, 5.249.0, and 5.248.0 (F-Droid)
- Device: Samsung Galaxy S23 Ultra
- OS: OneUI 8 (Android 16), OneUI 7 (Android 15)
This was reported to me by someone using a phone running LineageOS 22 (Android 15), so it's not just a Samsung problem.
Thank you for opening an Issue in our Repository. The issue has been forwarded to the team and we'll follow up as soon as we have time to investigate. As stated in our Contribution Guidelines, requests for feedback should be addressed via the Feedback section in the Android app.
Thank you for reporting this and providing clear steps to reproduce. I reviewed the download logic and believe I found the culprit - we’re updating the progress notification far too often, which adds a lot of overhead. I’ll close this issue once the fix is merged.
I'm closing the issue, since the fix has been merged and should be rolling out soon with the 5.254.0 release. Thanks again for flagging this!
@lmac012 I've installed 5.254.1 from the releases page and downloads seem to be working fine now.
Thanks for the fix!