Bugzilla – Bug 554025
CheckBox: is missing 'indeterminate' state
Last modified: 2010-03-12 03:36:42 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.
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.
Review posted: http://reviews.mono-a11y.org/r/548
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 ***
Closed in 2.0 release version