[Mono-bugs] [Bug 707858] New: Calling Refresh() method on PropertyGrid causes it to collapse

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jul 24 10:24:43 EDT 2011



           Summary: Calling Refresh() method on PropertyGrid causes it to
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: JulianBrunner at gmx.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=441888)
 --> (http://bugzilla.novell.com/attachment.cgi?id=441888)
test case

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML,
like Gecko) Ubuntu/10.10 Chromium/12.0.742.112 Chrome/12.0.742.112

Calling a PropertyGrid's Refresh() method while some of the displayed items are
expanded causes it to collapse everything.

Tested on Ubuntu 10.10 x64 using mono built from git, latest commit:

It works just fine on Windows 7 x64 using .NET 4.0.

Reproducible: Always

Steps to Reproduce:
1. Compile the attached property-grid-test.cs using "dmcs
-r:System.Windows.Forms.dll property-grid-test.cs"
2. run "mono property-grid-test.exe"
3. Expand the "Bar Settings" item
4. Edit the value of the "Foo" item, confirm with return or by clicking
somewhere else
Actual Results:  
The "Bar Settings" item collapses.

Expected Results:  
The "Bar Settings" item should be unaffected by the Refresh().

The attached test case can also be compiled and run on Windows/.NET.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list