views:

166

answers:

3

I am having problems getting the GTK designer to work with MonoDevelop. I tried 2.4 on Arch Linux and it gave this problem. Then I tried 2.2 on OpenBSD and it gives the exact same problem. Both machines are 64bit.

Instead of having a window to drag things on I just have a blank square:

alt text

The tutorials I've seen look similar to this though:

alt text

So what gives? With my blank square I can't drag anything onto it, not a VBox or other container even. It will not react to anything.

Am I missing some sort of GTK# configuration or what? I find it highly improbable that both OSs' packages I tried are broken. Also, I've attached a (huge) bounty to this because this is a pretty big issue for me.

The console output from the starting of Mono and including me trying to drag an element onto the gray box is here

Update

Ok, so I've finally gotten a bit closer to solving the mystery. I use Fluxbox as my window manager usually. Well I tried using both KDE and Gnome-Session and both of them cause MonoDevelop to work properly(though still missing the window border, you could at least drag components onto it). Now my question is what makes Fluxbox not work for it?

+1  A: 

Uh, that is the designer. If the toolbox didn't show up, go to View->Pads->Toolbox to bring it up.

Note that this Gtk, you can't just drop a button or textbox on the design surface. You have to drop a container control first, and then can place buttons and such inside the container.

jpobst
Every tutorial I've seen shows a window there instead of a gray box. Plus I've tried dragging a VBox onto it and it does nothing
Earlz
The window border may not appear if MD is unable to invoke certain private Metacity APIs, but it shouldn't stop anything from working.
mhutch
+1  A: 
  1. set global gtk theme to default

  2. check all bindings depends

  3. try start monodevelop from console and post output on pastebin

simplexe
see my edit for the output
Earlz
strange... i have something distro, with latest mono and monodevelopin arch latest mono packages installed?composite managers like as compiz disabled?try run from other user.i think this is problem missing depends or broken gtk configuration
simplexe
@simple I'm running Fluxbox, but I'll try from another user.
Earlz
+2  A: 
Alex Butum
Wow, pretty thorough on all my output. I'll try all of this tonight when I'm home.
Earlz
I think that the window border is only drawn if you're using the Metacity window manager and that's why is not drawn. And those errors are harmeless in this respect. I cannot verify this myself right now cause I only use KDE, but this is plausible.
Alex Butum
@Alex see the update on my question. Apparently it is something to do with Fluxbox
Earlz
Indeed, seems to be a problem either with Fluxbox or something from Mono packages, another guy has the same problem see: http://tinyurl.com/27bdrrj . I don't have window borders in KDE but other than that everything is fine.
Alex Butum