commons-app/apps-android-commons

Uploads paused unintendedly, after launching upload via gallery share

Opened this issue ยท 4 comments

Not every timebut it happened to me several times:

  1. In Google Pixel's stock Photos gallery app, select 25 pictures (might reproduce with less, not sure).
  2. Share to Commons app, complete the Upload Wizard, submit.
  3. Because this is share intent, you are sent back to the gallery app.
  4. Do something else with your phone for 20 minutes, like reading emails, opening other apps, but do not open the Commons app.
  5. After this interlude, open the Commons app.
  6. Problem: Zero picture have been uploaded. Upload seems paused. See screencast below.
screen-20240917-094049.mp4

I am 100% sure I never tapped "pause" since the last time I reinstalled the app 7 days ago. Yesterday I successfully uploaded a 40-pictures set via the same gallery app's share button, but I had opened the Commons app shortly after launching the upload.

Workaround: Tap the "unpause" button. Upload starts smoothly.

Same situation with a single upload, but this time I can't unpause it, in this screecast I tapped the play button several times:

screen-20240921-162327.mp4

Not every timebut it happened to me several times:

  1. In Google Pixel's stock Photos gallery app, select 25 pictures (might reproduce with less, not sure).
  2. Share to Commons app, complete the Upload Wizard, submit.
  3. Because this is share intent, you are sent back to the gallery app.
  4. Do something else with your phone for 20 minutes, like reading emails, opening other apps, but do not open the Commons app.
  5. After this interlude, open the Commons app.
  6. Problem: Zero picture have been uploaded. Upload seems paused. See screencast below.

screen-20240917-094049.mp4
I am 100% sure I never tapped "pause" since the last time I reinstalled the app 7 days ago. Yesterday I successfully uploaded a 40-pictures set via the same gallery app's share button, but I had opened the Commons app shortly after launching the upload.

Workaround: Tap the "unpause" button. Upload starts smoothly.

May I ask if this issue happens in other device?
I tried for Samsung and Sony phone, different emulators from Android 9 - 15, but I cannot reproduce the issue.

And, may I ask if you turn on the battery saver feature of Android OS under Setting -> Battery?
It may stop process in background which may pause the upload process

@u7665680 I only tried on Pixel 9. Battery saver disabled. "Allow background usage" enabled. Thanks for checking! ๐Ÿ™‚

I have not noticed this issue in a while, maybe since the Uploads screen is getting shown upon initiating any upload.