Background load time should be decreased

Bug #215602 reported by ToddBrandt
6
Affects Status Importance Assigned to Milestone
Moblin Applets
Fix Released
Wishlist
ToddBrandt

Bug Description

The background applet currently takes well over a minute to populate a 1000+ photos. It should be able to handle any number of photos without forcing the user to wait.

Revision history for this message
ToddBrandt (todd-e-brandt) wrote :

0.55 has a vast improvement of the load time for the backgrounds applet, it now takes 29 seconds to load 3275 images, which means that the average user's 200 images would take's under 2 seconds.

Also changed the background loading scheme. It no longer looks at thumbnails from moblin-media, it looks at the media/photo path independantly and reads in the images from scratch. This has proven to be much faster.

Image loading now happens in two phases: first the directories are read and a list of images created. This takes about 1/5 of the total load time. Then the window's treeview is populated with text only so that the user can immediately see something. Then the thumbnails are loaded in a background thread. In theory the user should be able to see thumbnails as they're populating but that part isn't working yet.

Changed in moblin-applets:
assignee: nobody → todd-e-brandt
importance: Undecided → Wishlist
milestone: none → m11
status: New → Fix Committed
Revision history for this message
cathyli (cathy-li) wrote :

Verified in moblin-applets 0.61-0ubuntu1, the time decreased quickly, close the issue.

Changed in moblin-applets:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.