[PATCH] proposed fix for the "amarok freezes when the install mp3 support dialog appears" bug
Sascha Sommer
ssommer at suse.de
Wed Aug 29 12:34:04 UTC 2007
Hi,
the attached patch fixes
https://bugs.kde.org/show_bug.cgi?id=147126
https://bugzilla.novell.com/show_bug.cgi?id=304202
"After loading an mp3 in amarok, I get a popup that asks if I want to install
mp3 support. This is an excellent idea and feature -- but it doesn't work.
Amarok freezes right off, and is un-usable. I then have to kill it."
The problem seems to be that EngineController::canDecode runs in a seperate
thread than the gui thread. Opening up a Kmessagebox there will prevent
amarok from handling all gui events and everything will freeze. I therefore
put the dialog into an extra function that will later get called from the
statusBar.
The canDecode then only has to send an event to the statusBar in order to
display the dialog.
Better solutions?
Regards
Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amarok-mp3-dialog.patch
Type: text/x-diff
Size: 3634 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/amarok/attachments/20070829/a90f2fcc/attachment.bin>
More information about the Amarok
mailing list