[MonoDevelop] Problem with 2.2 beta

Vadim Chekan kot.begemot at gmail.com
Fri Nov 20 02:51:06 EST 2009


I'm running current (from svn) version of MD and experienced that bug
too. One of my components stopped showing "design" mode. So I deleted
it, and created a new one, with the same name. It looked fine in
designer but C# code did not contain any buttons I put into re-created
control.
Finally I discovered that I have 2 entries for this control in .stetic file:

  <widget class="Gtk.Bin" id="UI.XmppAccount" design-size="337 347">
    <property name="MemberName" />
    <property name="Visible">False</property>
    <child>
... all children are here
    </child>
  </widget>
  <widget class="Gtk.Bin" id="UI.XmppAccount" design-size="300 300">
... no children declared here
  </widget>

Notice that  id="UI.XmppAccount" is the same for both widgets.
So looks like designer picked up the first entry because it showed
control properly, and code generator the last one because my C# code
contained no members.

Perhaps stetic (and designer) should validate ID uniqueness?

Vadim.


On Tue, Nov 17, 2009 at 5:59 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Mon, Nov 16, 2009 at 3:45 PM, alanb <alan.battersby at ntlworld.com> wrote:
>> I was making some major changes to several UI components when things started
>> to go wrong and something has become corrupted. Now I  load MD2.2 beta 2 and
>> everything looks ok but when I build my project I seem to lose the designer
>> window and several UI components are reported as not being there when they
>> are. If I close and reopen my solution I still cannot use the designer but
>> if I close MD and reopen I can use the designer again (until I build next).
>> I looked at gui.stetic to my untrained eye it looks ok see
>> http://old.nabble.com/file/p26379179/gui.stetic gui.stetic
>> can anyone suggest what is going wrong or what to look for.
>
> This sounds like http://bugzilla.novell.com/show_bug.cgi?id=543918
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>



-- 
>From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
is explicitly specified


More information about the Monodevelop-list mailing list