Bug 210761

Summary: Amarok UI freezes while examining removable media
Product: [Applications] amarok Reporter: Matt Whitlock <kde>
Component: Collections/LocalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt Whitlock 2009-10-16 09:15:35 UTC
Version:           2.2.0 (using KDE 4.3.2)
Compiler:          gcc (Gentoo 4.4.1 p1.0) 4.4.1 
OS:                Linux
Installed from:    Gentoo Packages

A few seconds after starting Amarok, the GUI freezes for a considerable time (often a minute or more).  This appears to be due to Amarok's crawling the directory hierarchies of mounted removable storage media.  No activity or progress is displayed in the status bar during this time, and the GUI is unresponsive.

I have a USB flash drive mounted that contains 155303 files in 21349 directories.  Needless to say, if the dentries aren't already cached in memory, it takes a bit of time to load them all from the flash.  During that time, Amarok is completely frozen and useless.

Suggested fix: Perform the scan of removable media in a thread other than the GUI thread.
Comment 1 Mikko C. 2009-11-28 09:23:56 UTC

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