Bugzilla – Bug 525428
doing click action doesn't move focus on that control
Last modified: 2010-09-01 15:47:14 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 :)
Bug doesn't block 554017