Re: Panel applets going AWOL
"Thomas Leonard" <[email protected]>
| Newsgroups | gmane.comp.desktop.rox.devel |
|---|---|
| Message-ID | <[email protected]> |
2008/4/27 Tony Houghton <[email protected]>: > In <[email protected]> > "Thomas Leonard" <[email protected]> wrote: > >> 2008/4/27 Tony Houghton <[email protected]>: >> > Almost every time I boot up I seem to have to replace one or more >> > panel applets which have gone missing since last time I used the >> > computer. Usually it's DevTray, but other applets aren't immune. >> > One one occasion every single applet had gone missing and I was >> > left with just the static icons. >> [...] >> > A second option would be to pop up a dialog: "xyz has exited >> > abnormally. [Restart it now] [Restart it at next session] [Don't >> > restart it]" (may need some work on the wording). I think that's >> > the better plan, but it does have a potential problem that at >> > shutdown it could result in dialogs flashing up which the user >> > doesn't have time to read before the desktop disappears. It might >> > be possible to avoid that by delaying the appearance of the dialog >> > with g_idle_add() and/or even g_timeout_add(). >> >> Agreed; only the user should be able to remove an applet from the >> panel, no matter what the applet does. >> >> How about: when you drop an applet on the panel you just see the >> normal icon, with an option / dialog box asking if you'd like to run >> it. When it exits, it turns back >> into a normal icon (and you can just start it again). > > That would still require user intervention to restart the applets that > have gone wrong though wouldn't it? Yes. I think you need some user interaction here so that: a) The user knows the applet went wrong, and b) A buggy applet doesn't just keep restarting endlessly Having a dialog box popup offering to restart it would be fine, though. -- Dr Thomas Leonard ROX desktop / Zero Install GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php