Bug 510048 - selected index of ComboBox erroneously has "focused" state
Summary: selected index of ComboBox erroneously has "focused" state
Status: CONFIRMED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 17:15 UTC by Brian Merrell
Modified: 2010-08-31 13:35 UTC (History)
2 users (show)

See Also:
Found By: Integration Test
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 Brian Merrell 2009-06-04 17:15:45 UTC
PROBLEM STATEMENT

The menu item accessible that represents the selected index, has the "focused state" even though the ComboBox doesn't even have keyboard focus (let alone the menu item).  This should not be the case.

FOCUSED

1.  Run uia2atk/test/samples/fontdialog.py
2.  Click the 'Click me' button of the "FontDialog control"
3.  Run Accerciser, open the "Interface Viewer" tab, and expand the "Accessible" expander
4.  In Accerciser's left pane, browse to and select the "Greek" menu item of the "Script" combo box (which is a direct descendant of the "Font" dialog)
5.  In the "Font" dialog, select the "Greek" item of the "Script" combo box
6.  Press tab or click another control to change the focus to a different control.  You can even activate a different window on the desktop.
7.  Check the list of states for the "Greek" menu item in Accerciser's interface viewer

RESULTS

The "Greek" menu item still has the "focused" state

EXPECTED RESULTS

The "Greek" menu item should not have the "focused" state because it do not have keyboard focus.

COMMENTS

Even the default selected index of ComboBox has the "focused" state (as reported by Bug 506694).