Bug 192048 - Slideshow desktop background hangs when scanning folders with lots of files
Summary: Slideshow desktop background hangs when scanning folders with lots of files
Status: RESOLVED DUPLICATE of bug 190632
Alias: None
Product: plasma4
Classification: Unmaintained
Component: desktop (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 16:24 UTC by Nicolas Piguet
Modified: 2009-05-13 02:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Piguet 2009-05-08 16:24:04 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I set up my KDE 4.2.2 desktop to use a slideshow as the desktop background. I selected a folder that contains about 8'000 pictures in about 140 subdirectories.

Now, plasma hangs for about 15 seconds each time I do one of the following things:

- Login into KDE (the hang happens while the desktop is loading)
- Open the Desktop settings dialog box
- try to change any of the "position", "color" settings
- try to change the folder in which the pictures are located

I set the slideshow to change the picture every minute. I now see a spike in CPU load (in the system monitor plasmoid) every minute as the picture changes (not sure if this is related, it might just be because the picture is loaded and scaled)

I suspect this hang is caused by plasma rebuilding the list of files available for the slideshow (dolphin seems to take about the same time to display the file count in my photo folder's properties). If that's the case, maybe the file list can be cached to a file somewhere in home folder and reloaded periodically in a background thread instead of rebuilding that file list in the foreground thread at all those different occasions.
Comment 1 Pino Toscano 2009-05-12 20:16:48 UTC
*** Bug 192467 has been marked as a duplicate of this bug. ***
Comment 2 Pino Toscano 2009-05-13 02:24:49 UTC

*** This bug has been marked as a duplicate of bug 190632 ***