Last modified: 2013-02-28 18:24:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47372, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45372 - [Android] first batch of My uploads takes too long to load
[Android] first batch of My uploads takes too long to load
Status: RESOLVED FIXED
Product: Commons App
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Low minor
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-25 19:57 UTC by Sage Ross
Modified: 2013-02-28 18:24 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Sage Ross 2013-02-25 19:57:10 UTC
Previous uploads are fetched from Commons upon login. This goes in batches of 500. The wait until the first set reaches the phone is long enough that it leaves the user wondering whether something has gone wrong.

Maybe the first set of uploads could be smaller (e.g. 50). Or even going 50 at a a time from start to finish would make sense, if it wouldn't greatly increase the amount of time it takes to load a large number of uploads. That would give more of a sense of progress.
Comment 1 Yuvi Panda 2013-02-25 20:02:36 UTC
Would an indicator that a 'sync' is happening be good enough?
Comment 2 Sage Ross 2013-02-25 20:09:50 UTC
Not really. It's a minor issue, so feel free to close it WONTFIX... but Android app sync indicators are often just 'this app is stuck trying to sync but it will never finish' indicators. Having the numbers move up in smaller units at shorter intervals would alleviate any user concerns about that being the case.
Comment 3 Sage Ross 2013-02-25 20:15:30 UTC
It takes about 30 seconds to switch from 0 to 500 uploads on my Android 2.3 device. That's long enough that I start to think something has gone wrong... especially if there's a sync indicator.
Comment 4 Yuvi Panda 2013-02-25 20:27:31 UTC
Still requests things at intervals of 500, but commits them in intervals of 10. I think this strikes a fine balance between minimizing network activity and being responsive.

Fixed in fcd13c9a7195338ec6374cf5ac243ace7a93dd7f
Comment 5 Sage Ross 2013-02-26 01:44:14 UTC
I like the way it works with this fix, but there seems to be something wrong with the upload count.

I had, according to the market version of the app, 2308 uploads. With this new test version, after I uploaded one more, it has said first 2291 and then (after clearing app data and letting it re-read my uploads) 2290 uploads. When I uninstall the version with this fix and re-install the market version, I get 2309 uploads (presumably the correct number, although I can't find a way to verify it).
Comment 6 Sage Ross 2013-02-28 18:24:39 UTC
Closing this bug and opening a new one about upload count.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links