[Mono-dev] Regression in r99253 trunk/mcs/class/System.Design/System.ComponentModel.Design?

Ivan N. Zlatev contact at i-nz.net
Fri Mar 28 21:10:54 EDT 2008


On Sat, Mar 29, 2008 at 12:36 AM, Andreas Nahr
<ClassDevelopment at a-softtech.com> wrote:
> If I understand the changes correctly with the patch the list will now
>  repopulate with any change. This makes the class unusable in a lot of
>  situations (every situation where population is slow in the first place).
>  Moreover this is not the case in .Net.
>

The code will only repopulate the list if:

1) The value of the property edited *in the PropertyGrid* is changed
*and* the collectioneditor form is opened at that moment
(itemDisplay_PropertyValueChanged)
2) If OnEditValueChanged is called, which in our code is done only
once when EditValue is initialized

This commit does not change the logic above. Or am I missing something?

>  Is there any special goal why the existing code is changed? (changelog is
>  unspecific)
>

Changelog is unspecific because I forgot to link to the bugs that the
code fixes - #365940 and #365942. Also there were a couple of other
small issues.

-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
"It's all some kind of whacked out conspiracy."


More information about the Mono-devel-list mailing list