Bug 480218 - CheckedListBox, ListBox: Both treetable and tablecell[0] should has focused state
Summary: CheckedListBox, ListBox: Both treetable and tablecell[0] should has focused s...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.0
: P4 - Low : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 05:47 UTC by calen chen
Modified: 2009-06-19 09:49 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
testscript.py (599 bytes, text/x-python)
2009-02-27 06:03 UTC, calen chen
Details

Note You need to log in before you can comment on or make changes to this bug.
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.