[Mono-bugs] [Bug 542708] New: CheckBoxRenderer rendering issue

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 28 18:05:32 EDT 2009


           Summary: CheckBoxRenderer rendering issue
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: novell at game-point.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
Gecko/20090715 Firefox/3.5.1

I've found a very particular bug; to start with, here's the screenshot of it
manifesting itself:


My control extends TreeView, and one of the things it does is set
base.StateImageList to a list of images outputted by CheckBoxRenderer.  Notice
'node3' and 'node7' in the screenshot.  They are supposed to be being rendered
as CheckBoxState.CheckedPressed, but instead they seem to be being rendered as
CheckBoxState.CheckedNormal.  However, the checkboxes at the top of the
treeview show the CheckBoxRenderer manually rendering all the checkbox states,
which shows that it should be able to render a CheckBoxState.CheckedPressed
with a greyed background.  This must be a Mono bug.

If you want to see it in action, grab the source code to my utilities solution
via SVN (set the GooeyUtilitiesTester project to the startup project), at:

.. and click 'Test GooeyTree' when you run it.

Reproducible: Always

Configure bugmail: http://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