Bug 597263

Summary: [uiaclient-GTKs]: The Invoke method can't make button 's HasKeyboardFocus property to be true
Product: [Mono] UI Automation Reporter: Feng Xia Mu <fxmu>
Component: Client - UIAAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None    
Version: Unspecified   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The testscript to be run.

Description Feng Xia Mu 2010-04-16 10:00:37 UTC
COMMENTS

Whenever we click a button, its HasKeyboardFocus property always be false.

REPRO

1. Launch F-Spot.
2. Run the test script of attachment which gives the button a focus and click it and then check its focus state.

RESULTS
"
the focus is not on the browseButton
the browseButton's HasKeyboardProperty is  False


Using SetFocus() to give the browseButton a focus 
the browseButton's HasKeyboardProperty is  True


the focus is not on the browseButton
the browseButton's HasKeyboardProperty is  False


Click the button then check its focus state 
the browseButton's HasKeyboardProperty is  False
the editButton's HasKeyboardProperty is  True
"

EXPECTED RESULTS
"
the focus is not on the browseButton
the browseButton's HasKeyboardProperty is  False


Using SetFocus() to give the browseButton a focus 
the browseButton's HasKeyboardProperty is  True


the focus is not on the browseButton
the browseButton's HasKeyboardProperty is  False


Click the button then check its focus state 
the browseButton's HasKeyboardProperty is  True
the editButton's HasKeyboardProperty is  False
".
Comment 1 Feng Xia Mu 2010-04-16 10:01:49 UTC
Created attachment 354931 [details]
The testscript to be run.
Comment 2 Feng Xia Mu 2010-04-16 10:03:30 UTC
And the bug is similar to bug 525428.