Bug 468271

Summary: ListView_details: "table cell" isn't accessible without "focused"
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: P3 - Medium    
Version: Release 0.9   
Target Milestone: Release 1.1   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Provider patch

Description calen chen 2009-01-22 08:39:35 UTC
SUMMARY

table cells don't rise "focused" states whether do click action or keyUp/Down to navigate in Gui, so it is not accessible for Orca to speak out where the location is. 

I have tried in Vista with UISpy("Focus Tracking" under "Mode" menu is checked), "text Item0" default with "HasKeyboardFocus=True, IsKeyboardFocusable=True" when click Gui title bar, and "text Item1" would rise "HasKeyboardFocus=True, IsKeyboardFocusable=True" when use keyDown to select it. just items under first column would rise "HasKeyboardFocus=True, IsKeyboardFocusable=True". 

also, table cells under first column in Gtk example have "focused" and "focusable" states

REPRO

1.  run uia2atk/test/samples/listview_detail.py 
2.  run Orca, in example Gui mouse click first row

3. in Vista run the same example by IronPython, run UISpy with "Focus Tracking" is checked under "Mode"
4. click example Gui
5. click Item1 or use keyDown move to Item1

6. run uia2atk/test/samples/gtkliststore.py
7. run accercise, select table cell "1", mouse click "1" from Gui then see it's states

RESULTS
in step2: orca just can SPEECH OUTPUT: 'tree table', because in accerciser there is no "focused" state for table cell "Item0"

in step4 and step5: HasKeyboardFocus=True, IsKeyboardFocusable=True

in step7: tabel cells under first column have "focusable" and "focused" states

EXPECTED RESUlt

I expect table cells under first column also should have "focusable" and "focused" states like table cells in Gtk

COMMENTS

RPM Rev values for - 012109
uiautomationwinforms-124083-467
uiaatkbridge-124120-451
Comment 1 Mario Carrion 2009-02-13 23:46:23 UTC
Created attachment 272830 [details]
Provider patch
Comment 2 Mario Carrion 2009-02-13 23:52:02 UTC
Bridge needs to support sending "active-descendant-changed" in TextViewEntry when Parent is Table, I will refactor ot to reuse the code in TreeView and TreeNode.
Comment 3 Mario Carrion 2009-02-14 00:00:50 UTC
(In reply to comment #1)
> Created an attachment (id=272830) [details]
> Provider patch

Applied r126896. UIAutomationWinforms-trunk
Comment 4 Brad Taylor 2009-03-04 16:44:09 UTC
Mario, is this bug resolved now?  Either way, can you update this bug with your status, or close it?  Thanks!
Comment 5 Mario Carrion 2009-03-04 17:20:41 UTC
The provider is raising the events, however the bridge is missing this functionality, basically the Textbox-based cells, because instead of using TreeItem is using TextBoxView, this will need some refactoring in the bridge anyway.
Comment 6 calen chen 2009-03-30 06:03:13 UTC
ADD COMMENTS:

in 1.0 rpm version, *pyatspi can get defalt 'Item0' TableCell with 'focused' state, and rise TableCell with 'focused' when doing click or keyDown/Up, but 'focused' state doesn't appear in accerciser