Background load time should be decreased
Bug #215602 reported by
ToddBrandt
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.
To post a comment you must log in.
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.