[ubuntu-mono] [Bug 54598] Re: [Bug 54598] Re: Unacknowledged metacity dependencies

Jeff Raven equivariant at gmail.com
Mon Jul 31 06:12:37 UTC 2006


On 7/30/06, Sebastian Dröge <slomo at circular-chaos.org> wrote:
>
> Is it really metacity that is missing? Or only a metacity theme?
>

The problem lies in a missing GConf entry that Metacity provides**
("/apps/metacity/general/theme").

I spent a bit looking through the current svn of MonoDevelop and I
believe the problem is still there; more specifically it's a bug in
Stetic (which only appears in the MonoDevelop codebase as a dll,
the only place I could find the source for Stetic was the mono svn).

In Stetic's libstetic/EmbedWindow.cs there's a call to GConf.Client:Get
for the key "/apps/metacity/general/theme" which isn't surrounded by a
try-catch block. Since GConf.Client:Get throws an exception if the key
isn't found, this ultimately crashes MonoDevelop.

On the bright side, if the exception were caught there seems to be code
in place in Stetic that could handle the absence of a theme (though I
haven't
tested it).

For reference, the start of the stack trace produced when MonoDevelop
crashes is

GConf.NoSuchKeyException: Key '/apps/metacity/general/theme' not found in
GConf
in <0x000e1> GConf.Client:Get (System.String key)
in <0x00037> Stetic.EmbedWindow:get_Theme ()
in <0x0013f> Stetic.EmbedWindow:Wrap (Gtk.Container container, Int32
designWidth, Int32 designHeight)
...
...

-- 
Unacknowledged metacity dependencies
https://launchpad.net/bugs/54598




More information about the Ubuntu-mono mailing list