Bug 554025 - CheckBox: is missing 'indeterminate' state
Summary: CheckBox: is missing 'indeterminate' state
Status: VERIFIED DUPLICATE of bug 494706
Alias: None
Product: UI Automation
Classification: Mono
Component: Moonlight - General (show other bugs)
Version: Unspecified
Hardware: x86 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Brad Taylor
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 08:22 UTC by calen chen
Modified: 2010-03-12 03:36 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description calen chen 2009-11-10 08:22:31 UTC
REPRO:

1. Make /uia2atk/test/samples/moonlight/CheckBox
2. Run CheckBoxSample.html and accerciser
3. On app windows, mouse click "Three State CheckBox" to indeterminate status
4. On accerciser, expend CheckBoxSample document frame and Silverlight Control
filler, select "Three State CheckBox"
5. Under interface viewer, see the checkbox's states

RESULTS:

there is missing 'indeterminate' state

EXPECTED RESULTS:

'indeterminate' state is expected when the checkbox has ThreeState property. 

INDETERMINATE STATES:
 Indicates that a check box is in a state other than checked or not checked.
 This usually means that the boolean value reflected or controlled by the
 object does not apply consistently to the entire current context. For
 example, a checkbox for the "Bold" attribute of text may have
 STATE_INDETERMINATE if the currently selected text contains a mixture of
 weight attributes. In many cases interacting with a STATE_INDETERMINATE
 object will cause the context's corresponding boolean attribute to be
 homogenized, whereupon the object will lose STATE_INDETERMINATE and a
 corresponding state-changed event will be fired.
Comment 1 Brad Taylor 2009-11-24 19:45:43 UTC
It seems that Gail, even though Gtk+ has such a state, does not ever set Indeterminate for ToggleButton subclasses (e.g.: RadioButton, CheckButton).

That said, this is easy to add, so I'm going to go ahead and do it.
Comment 2 Brad Taylor 2009-11-25 20:00:31 UTC
Review posted:

http://reviews.mono-a11y.org/r/548
Comment 3 Brad Taylor 2009-12-01 14:28:59 UTC
I'm merging this with #494706 since they cover the same portion of code, and the test from #494706 can assert that this is completed.

*** This bug has been marked as a duplicate of bug 494706 ***
Comment 4 calen chen 2010-03-12 03:36:42 UTC
Closed in 2.0 release version