Bug 525428 - doing click action doesn't move focus on that control
Summary: doing click action doesn't move focus on that control
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P2 - High : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 10:05 UTC by calen chen
Modified: 2010-09-01 15:47 UTC (History)
0 users

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


Attachments

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