Bug 525428

Summary: doing click action doesn't move focus on that control
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-07-27 10:05:26 UTC
PROBLEM STATMENT:

I think 'click' action (doAction(0) of pyatspi) is an imitation of mouse left click, so for some controls after doing 'click' action they should be focused and raise 'focused' state like doing mouse click on GUI, for example Button, CheckBox, RadioButton


Button for example:
REPRO:

1. run uia2atk/test/samples/button_label_linklabel.py, click 'button2' on GUI, button2 is focused with a red rectangle
2. run accerciser, expand frame and browse to select 'button1' on the left tree
3. under interface viewer of accerciser, expand "Accessible" and "Action", select 'click' and click 'perform action'
4. mouse click application's title bar on GUI

RESULTS:
after doing step3, a dialog is invoked but doesn't move focus on 'button1', also doesn't raise 'focused' state for it

CheckBox for example:
REPRO:
1. run uia2atk/test/samples/checkbox.py, press 'Tab', 'Chicken' is focused with dotted line rectangle
2. run accerciser, expand frame and browse to select 'Bananas' on the left tree
3. under interface viewer of accerciser, expand "Action", select 'click' and click 'perform action'
4. mouse click application's title bar on GUI

RESULTS:
after doing step3, 'Bananas' is checked but doesn't move focus on it, also doesn't raise 'focused' state for it


EXPECTED:
focus should be moved to the clicked widget and raise 'focused' states for it after perform 'click' action

COMMENTS:

I have verified this issue in Gtk.Button, Gtk.CheckBox Gtk.RadioButton. If you think I need separate this bug, please let me know, thanks :)
Comment 1 Mario Carrion 2010-09-01 15:47:14 UTC
Bug doesn't block 554017