[Mono-winforms-list] patch for 80020, comments?
Jonathan Pobst
monkey at jpobst.com
Tue Jan 30 11:06:02 EST 2007
Most the apps I tried (ToolStripDemo, PDN, Reversi) look good pretty
good [on Windows]. I ran into two problems:
- It looks like the Menu is trying to draw off of the initial NCPAINT,
but the IsHandleCreated is false, which it doesn't check, causing it to
access Handle and create a loop. Test case attached.
- Scrollbars in ComboBoxes are not drawn until they are clicked. It may
be Scrollbars are set to Visible before their owning control is created.
Test case attached.
Both issues are easily reproducible using FormsTest as well.
Jonathan
Chris Toshok wrote:
> This seems to fix everything in ControlHandleTest on X11, not sure about
> windows. It also fixes things "the right way" wrt WM_CREATE and
> WM_SHOWWINDOW, which we now generate on X11.
>
> It doesn't fix the test in FormTest.cs that was put there for 80020.
> MDI children handles are still being created too early, but my brain
> isn't capable at this point of fixing it, so I figured I'd send what I
> had and see how people feel about the changes.
>
> Chris
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: menubug.cs
Url: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20070130/9ba9050c/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scrollbarbug.cs
Url: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20070130/9ba9050c/attachment-0001.pl
More information about the Mono-winforms-list
mailing list