bugs: Downloads added with browser extension sometimes not registered + Downloading stuff from Firefox displays random file name
fiftydinar opened this issue · 13 comments
With initial Firefox extension support, I see this behavior.
When a download is first added it parses the URL for a file name, but after a second it should update with the actual file name. Can you send a screenshot?
When a download is first added it parses the URL for a file name, but after a second it should update with the actual file name. Can you send a screenshot?
Just when I wanted to test this again, so I can send a screenshot, it works correctly.
But on next launch, it doesn't want to download anything. It just says Download Canceled in Firefox.
So I have a mixed experience.
Strange. Did you try to download the same thing from the same link and it didn't register? Or some other file?
Strange. Did you try to download the same thing from the same link and it didn't register? Or some other file?
I tried same links 1st, then different ones.
Are you using the Flatpak version?
Are you using the Flatpak version?
Yes.
Latest v2024.2.29-2.
Fedora Silverblue 39.
I changed something in the code that may have been causing that. Can you install this flatpak file and test? https://drive.proton.me/urls/QVBRMZCQ18#Gylufq3sPv62
I changed something in the code that may have been causing that. Can you install this flatpak file and test? https://drive.proton.me/urls/QVBRMZCQ18#Gylufq3sPv62
Hmm, I still get some mixed results.
I deleted data before installing this version.
Downloads are still not being registered? If you can write what you do and what happens more in detail I can reproduce it.
I catched the random file-name bug.
You just have to download the file from same link a lot of times, while quitting & re-opening the app multiple times too.
+1 i too get this download not being sometimes not registered and random file name show in varia but correct file name shown in the file manger
Random Name - Screencast from 2024-04-14 17-03-59.webm
using varia version v2024.03.20 flatpak on Fedora Worksation 39 and in Firefox ask where to save is unticked
I think the thread that is created when a download is added might be acting before aria2 is able to assign the download a file name? I'm honestly not sure, because I can't consistently reproduce this, but to be sure I've moved the function that sets the file name in Varia into the main thread loop. The function now continuously checks if the filename has been changed, and if so, updates it in the GUI.
Now I don't think this is the best way to fix this issue, but I will release it in the next version. Hopefully it will fix the issue then.
Let's keep this issue open for a bit. If you see the same problem after the update, please report it here. If there are no reports for a good while, I will then close the issue.
The fix has been released with v2024.5.7. I will wait a week until I close this issue.