Bugzilla – Bug 480218
CheckedListBox, ListBox: Both treetable and tablecell[0] should has focused state
Last modified: 2009-06-19 09:49:20 UTC
REPRO: (1) relate to Bug448499 Comment #8, running attachment pyatspi script like: ./listbox_focused.py listbox.py RESULT: both TableCells[0] and TreeTable[0] have "focused" state. the prints are: treetable[0] [STATE_ENABLED, STATE_FOCUSABLE, STATE_FOCUSED, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE, STATE_MANAGES_DESCENDANTS] tablecell[0] [STATE_ENABLED, STATE_FOCUSABLE, STATE_FOCUSED, STATE_SELECTABLE, STATE_SELECTED, STATE_SENSITIVE, STATE_SHOWING, STATE_SINGLE_LINE, STATE_TRANSIENT, STATE_VISIBLE] EXPECTED RESULT: I think the default focus should on TableCells[0], TreeTable[0] has extraneous focused state
Created attachment 275892 [details] testscript.py
Add Comments: use 'Focus Tracking' in Vista to navigate 'list' which always get 'HasKeyboardFocus = False", and focus on 'list item'
This smells of a deeper issue. Adding extra hours to compensate.
TreeTable in his example doesn't have "focused" states, I assume treetable and tablecell[0] should both have "focused" state just like gtk sample do. you could take uia2atk/test/sample/gtktreeview_noheader_nochildren.py as an example.