Bugzilla – Bug 520567
ComboBox, Simple style: since 'tree table' can be 'selected' it should have 'selectable' state
Last modified: 2009-07-10 02:45:15 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
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'.