Bug 480218

Summary: CheckedListBox, ListBox: Both treetable and tablecell[0] should has focused 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: P4 - Low    
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: testscript.py

Description calen chen 2009-02-27 05:47:29 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
Comment 1 calen chen 2009-02-27 06:03:49 UTC
Created attachment 275892 [details]
testscript.py
Comment 2 calen chen 2009-03-02 08:49:31 UTC
Add Comments:

use 'Focus Tracking' in Vista to navigate 'list' which always get 'HasKeyboardFocus = False", and focus on 'list item'
Comment 3 Brad Taylor 2009-03-04 15:58:22 UTC
This smells of a deeper issue.  Adding extra hours to compensate.
Comment 4 Ray Wang 2009-06-19 09:49:20 UTC
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.