Bug 520567

Summary: ComboBox, Simple style: since 'tree table' can be 'selected' it should have 'selectable' state
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None    
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description calen chen 2009-07-09 10:11:45 UTC
PROBLEM STATEMENT:

The AtkSelection can be called from 'combo box' after bug505822 fixed, in combobox_simple example that there is 'tree table' and 'text' as combobox's descendants, that is different to combobox_dropdown('menu' and 'text as descendants) and different to combobox_dropdownlist('menu' as descendant), the problem is if selectChild(0) is called from 'combo box', 'tree table' has been raised 'selected' state, but I think if 'tree table' can be 'selected' it should have 'selectable' state

REPRO:

1. run uia2atk/test/samples/combobox_simple.py
2. run accerciser, expand ipy and combo box, select 'combo box' on the left tree
3. in IPthon textbox, insert 'acc.querySelection().selectChild(0)', press Enter
4. select 'tree table', see its states under interface viewer

5. expand Selection under interface viewer

RESULT:

in step4: 'tree table' is raised 'selected' state, but missing 'selectable'

in step5: only one 'text' in Selection box


EXPECTED RESULTS:

in step4: if 'tree table' can be 'selected' it should have 'selectable' state

in step5: 'tree table' also should be shown in Selection box
Comment 1 calen chen 2009-07-09 10:21:17 UTC
BTW, this issue is conflict with bug483225 that is saying "extraneous "selectable" state". 

if the problem mentioned in this bug is invalid, I think selectChild(0) is called from 'combo box' should raise 'selected' for 'text' but not 'tree table', and click 'text' in Selection box under 'interface viewer' should select menu_item '0' but not menu_item '1'.