[Mono-bugs] [Bug 475982] New: With visualstyles theme selected checkbox/radio button does not receive hot state

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Feb 14 15:59:51 EST 2009


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


           Summary: With visualstyles theme selected checkbox/radio button
                    does not receive hot state
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bsoft at mandel-straub.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Description of Problem:

Selected visualstyles theme checkbox does not receive hot state

Steps to reproduce the problem:
1. Enable MONO_THEME visualstyles
2. Create a form with checkbox/radiobutton
3. Select check the box/button
4. move mouse over checkbox/radiobutton

Actual Results:

checkbox/radiobutton does not show hot state

Expected Results:

checkbox/radiobutton should show hot state

How often does this happen? 

always 

Additional Information:

The reason of the bug is the wrong ordering inside 
ThemeWin32Classic.DrawCheckBoxGlyph
ThemeWin32Classic.DrawRadioButtonGlyph

correct order

if (cb.Pressed)
..
else if (cb.Entered)
..        
else if (cb.InternalSelected)
..
else if (!cb.Enabled)
..
else

The same fix might be applied to other places where InternalSelected is used.

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