Warning dialog for slow scripts?

Mark Kretschmann kretschmann at kde.org
Sat Feb 6 14:31:27 CET 2010


recently we got several bug reports (also forum posts) about people
having issues with slow Amarok Scripts (QtScript), causing Amarok to
hang. The problem: It's very hard for the users to identify which
script exactly is causing these issues.

I think we could do something similar like Konqueror (and Firefox, I
think) does: Implement a system that checks if a script takes longer
than X seconds (maybe 3 seconds), and then show a dialog like this:

"The script $FOO appears to have stalled. Would you like to terminate
it?" -- "Yes/No"

Example of such a bug report:


I think it would be very good if we could add this before tagging (and
also before string freeze, cause it needs new strings).

Is anyone motivated to work on this? :)

Mark Kretschmann
Amarok Developer
Fellow of the Free Software Foundation Europe
www.kde.org - amarok.kde.org - www.fsfe.org

More information about the Amarok-devel mailing list