Open ShashwatKedia opened 9 months ago
@nicolas-raoul, I think this can also be added to the GSoC proposal ideas, as this, too, is related to improving the upload queue management. If not, then I would like to start work on this :)
I have kind of given up on the pausing feature for now because the queuing is unreliable even without pausing... if you think you can fix it in a GSoC, I suggest putting it at the end of the schedule. 🙂
Summary
While trying to upload multiple images and pausing some, the app was behaving erratically. When I first pause the uploads, which are yet to be started, and then pause the current upload, the app automatically starts the next upload, even though it is paused. Doing this for 2-3 items crashes the app recording. Also, after closing the app and opening again, it starts the upload of the 1st item even though it is paused (also the pause button does not have a cancel button) recording.
Possible solutions can be:
I personally prefer the second solution, as there is no need to pause the items which are yet to be uploaded. But if maintainers think otherwise, then implementing the first one shouldn't be a big trouble.
Steps to reproduce
Expected behaviour
The app should look for the next un-uploaded item which is not paused, and it's upload.
Actual behaviour
The app forcefully starts the upload of the next item in queue, even though it was paused. Doing this multiple times crashes the app.
Device name
OnePlus Nord CE 2 Lite
Android version
Android 12
Commons app version
main prodDebug
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
Yes