2¢:

(Imho...) the approach to grant 3rd party plugins (scripts, written by some 
random fool ;-) access to the GUI thread is broken by design.

Scripts can paint their UI/changes to QImages and trigger updates to have the 
main process allocate/resize a container/widget & map the image on screen in 
the next event cycle.

That's not the most efficient way, but a running wild script cannot block the 
GUI or anything else as it remains in its own thread (which can be killed from 
some GUI thread manager if considered gone crazy and paints in its image over 
and over again)

Cheers,
Thomas
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

Reply via email to