[Mono-winforms-list] Patch (and possible bug) Fix Checkbox Check rendering

Peter Dennis Bartok peter@novonyx.com
Wed, 13 Oct 2004 10:20:51 -0600


Thanks for the patch. I believe we have a regression, though, but it wasn't 
with this patch, but with one of your earlier ones. When setting a checkbox 
to 'button' display, the hatchbrush pattern is no longer drawn when the 
button is checked (pushed).

>Now for the possible bug that this patch exposes:
>this is how to reproduce it first.

I can reproduce the bug on Linux, but not on Windows.

>I suspect it is one of the following (in order of probability)
>1) The Capture property setter is not causing the control to re-render
>itself when it's being changed.
>2 or the Capture property is not being set to false when the mouse
>button is released outside the control.

Nope, if you check the code you'll see that both is happening. If not, many 
bad things would happen. Also, it does work properly on Windows. I'll debug 
and let you know what I find.