GNOME Bugzilla – Bug 548710
metacity is not respawned when dies
Last modified: 2008-09-08 23:29:52 UTC
If you kill metacity, there is no new instance respawned, like it was before the new session. I set the bug critical, because it seems I can't access to any application when metacity is died, like accessing the terminal (perhaps this is a side-effect bug of compositor).
Thanks for the report. Should be fixed in trunk.
Hi William; this afternoon I spent some time with Baptiste to reproduce this and here is the method that was used: - run metacity --replace - killall metacity And then metacity wouldn't be relaunched. (it is correctly relaunched when metacity --replace has not been called). I checked with trunk (revision 4983) and it still behave that way. I just checked with a pre-dbus-based gnome-session and it respawned metacity in that situation.
That is actually a slightly different issue. We need to make sure metacity is installing a desktop file into a directory supported by the XDG menu spec and/or the autostart spec. Basically, clients are not restarted - apps are. At the moment this issue is confused somewhat since we only install the gnome-wm desktop file. But I think it was a mistake on my part to do this. We should make sure that metacity and compiz etc install desktop files of their own.
on 2.23.90 build, it seems metacity does not restart if it died the second time. This can be easilly test by kill <pid metacity> The first time it restarts, but not the second time. Same thing hapens to nautilus and panel. How does gnome-session handle this?
Again, once metacity installs its own desktop file and we don't use gnome-wm this will be fixed.
Jon, The same thing is also happen to nautilus and panel with 2.23.90 even though both of them have their own .desktop file in /usr/share/applications. That is, pkill nautilus, it restart once and pkill nautilus again, it does not restart anymore. The observation is that restart only works once, I think this is a blocker bug. -Ghee
Okay, I just tried out the trunk, this is now fixed! Thanks Jon!
So if this is fixed, feel free to close and point me to a commit revision.
2008-09-08 Vincent Untz <vuntz@gnome.org> Desktop file installed in both places. * src/Makefile.am: install both kinds of desktop file * src/metacity-wm.desktop.in: desktop file for gnome/wm-properties