[Mono-bugs] [Bug 358594] New: PropertyGrid: opening and closing the picker sets an empty DateTime field

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 4 11:55:02 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=358594


           Summary: PropertyGrid: opening and closing the picker sets an
                    empty DateTime field
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Repro program from bug 358593.  Repro:
1. Compile and run sample.
2. Note that the FooDateTime property is blank/empty.
3. Click in that property and open the datetime picker.
4. Don't select any date in the picker, but close by clicking outside it (e.g.
on the window title).
4. Note that the property is now set (?to today's date).

In MSFT the property remains unset.



Bug number two, very closely related.

Now attempt to set the value back to blank, by deleting the text (e.g.
"04/02/2008").  Click in a new cell and note that the value returns.  In MSFT
the field remains blank in this case -- with a value of DateTime.MinValue.


Perhaps the title should be empty/default value cannot be set in a DateTime
property.


-- 
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