Bug 520567 - ComboBox, Simple style: since 'tree table' can be 'selected' it should have 'selectable' state
Summary: ComboBox, Simple style: since 'tree table' can be 'selected' it should have ...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 10:11 UTC by calen chen
Modified: 2009-07-10 02:45 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-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'.