Bug 502029

Summary: DateTimePicker: some children are not accessible by orca
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: P2 - High    
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description calen chen 2009-05-08 03:33:35 UTC
REPRO:
states check:
1. run uia2atk/test/samples/datetimepicker_dropdown.py
2. run accerciser, expand panel, browse to 'check box', see its states under interface viewer
3. browse to day and year spin button, see theirs states under interface viewer

run with orca:
1. run orca
2. in sample UI: press keyLeft/Right navigate to 'tree view', then press keyUp/Down to change week and month, orca will read the update
3. press keyLeft/Right navigate to 'check box', then press keySpace to check and uncheck the box,  orca won't read the update
4. press keyLeft/Right navigate to 'spin button', then press keyUp/Down to change day and year, orca also won't read the update

RESULTS:

(1)checkbox and day/year spinbutton are missing 'focusable' and 'focused' states but it can be navigate by press arrow right/left. 

(2)orca won't read the update for 'check box' and 'spin button'

EXPECTED RESULTS

I am not sure if states issue is relate to orca's problem, but I expect orca can read children is updated. thanks!
Comment 1 Brad Taylor 2009-05-08 13:46:55 UTC
Good catch.  It appears the focus state isn't being added.
Comment 2 Brad Taylor 2009-05-08 19:27:31 UTC
Part of the fix for this is in winforms, so you'll need to upgrade to r133782 on mono-2-4 or r133783 if you track Mono trunk.

The rest is waiting for review at http://reviews.mono-a11y.org/r/195.
Comment 3 Brad Taylor 2009-05-11 14:36:34 UTC
Fixed in trunk r133897 and in 1.0 branch r133898.
Comment 4 calen chen 2009-05-12 03:30:47 UTC
Hi Brad, now orca can work well with spin button, but still have some problems in CheckBox and TreeTable, so I reopen it, please take a look, thanks :)

1.  I think CheckBox should have 'focused' default, because navigation start from checkbox when press keyLeft/Right.  also CheckBox should  raise 'focused' again when navigate  to it.

2. due to first problem that orca still can't read CheckBox element and can't read  checked or unchecked.

3. click weekday or month TreeTable in UI, then press *keyUp  that orca will read the selected tablecell, but press *keyDown that orca not only read the selected tablecell but also read "unselected" that may mislead  user. I think just read which one is selected is enough.



Test in rpm version:
mono-core-133896-945
uiaatkbridge-133942-660
uiautomationwinforms-133940-665
Comment 5 Brad Taylor 2009-08-12 14:16:45 UTC
Unassigning as we're focusing on the 2.0 work atm.