[Panel-devel] Crashing plasma

Jos Poortvliet jos at mijnkamer.nl
Fri Aug 10 13:27:59 CEST 2007


On 8/9/07, Ivan Čukić <ivan.cukic+kde at gmail.com> wrote:
>
> > where would it live?
> There is no reason for it to 'live'. If plasma crashes in a short interval
> -
> it could load the replacement that says something like 'Your desktop
> crashed
> twice in a row, if you want to try to start it again, click here'...
>
> jm.02


I guess some checkup on plasma is needed in the following scenario's:
- user adds a faulty plasmoid which crashes plasma. Plasma restarts, crashes
again.
Now plasma starts again, but the broken plasmoid is disabled, and the user
is notified of that using of course a non-modal dialog.

- plasmoid shows an icon for new version available. Mouse-over shows a info
widget with a link: click to update. the applet shows it's downloading &
upgrading (as does the central progress thingy), when done, it restarts the
applet (starting the new one). Crash. Restart plasma. Crash.
Now plasma starts again, but (surprise) the upgrade has been reverted, and
the user is notified of that using of course a non-modal dialog. Only when a
new version of the applet comes out is the user notified of an available
update again.

I guess for this kind off stuff, a sperate process is needed to monitor
stuff. When an applet is upgraded or installed, before it is started, plasma
should notify this monitor process, so it would be prepared to take the
right action (revert changes) if crashes happen.

OK, I actually thought about all this yesterday during my weekly shower ;-)

--
> There is a better way of life and it's not so hard to find
> If you live and let the people in your world speak its mind
>     -- Deep Purple
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20070810/b6fc1d28/attachment.html 


More information about the Panel-devel mailing list