Bug 597263 - [uiaclient-GTKs]: The Invoke method can't make button 's HasKeyboardFocus property to be true
Summary: [uiaclient-GTKs]: The Invoke method can't make button 's HasKeyboardFocus pro...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Client - UIA (show other bugs)
Version: Unspecified
Hardware: Other openSUSE 11.2
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 10:00 UTC by Feng Xia Mu
Modified: 2010-04-16 10:03 UTC (History)
0 users

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


Attachments
The testscript to be run. (2.28 KB, text/x-python)
2010-04-16 10:01 UTC, Feng Xia Mu
Details

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