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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to