[MonoDevelop] Problem with 2.2 beta

Vadim Chekan kot.begemot at gmail.com
Fri Dec 11 23:01:34 EST 2009


Michael,
I've registered at Novell's bugzilla, but I'm not sure what to file,
because bug #543918 already exist and I would just add a duplicate.

Vadim.

On Sat, Nov 28, 2009 at 12:24 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Fri, Nov 20, 2009 at 2:51 AM, Vadim Chekan <kot.begemot at gmail.com> wrote:
>> 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?
>
> That sounds reasonable. I've seen widgets get duplicated in the
> .stetic files a few times, and that would be a good sanity check. Can
> you file a bug?
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>



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


More information about the Monodevelop-list mailing list