Last modified: 2013-04-10 22:51:17 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 T49086, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47086 - Images appearing and disappearing erratically
Images appearing and disappearing erratically
Status: RESOLVED FIXED
Product: Commons App
Classification: Unclassified
iOS (iPhone or iPad) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-10 17:25 UTC by Tomasz Finc
Modified: 2013-04-10 22:51 UTC (History)
2 users (show)

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


Attachments

Description Tomasz Finc 2013-04-10 17:25:16 UTC
I've had several cases where scrolling back up to the top made images have to be reloaded. This was bizarre because as the user I never expect to have to load the same image twice.
Comment 1 Brion Vibber 2013-04-10 22:51:17 UTC
[cache-thumbs 2ac3674] (bug 47086) improve image caching

Images were being fetched via NSURLConnection, which is supposed to cache locally... but even when cached, the results come in asynchronously. This didn't fit well with the CollectionView scrolling model, which takes over the UI thread for maximum smoothness.

Now, we explicitly cache thumbs ourselves and load them synchronously if they're present, leading to a much nicer scrolling experience.

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


Navigation
Links