Bug 506694 - Default selected index of ComboBox erroneously has "focused" state
Summary: Default selected index of ComboBox erroneously has "focused" state
Status: NEW
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-05-23 06:25 UTC by Brian Merrell
Modified: 2009-07-02 03:35 UTC (History)
1 user (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-05-23 06:25:43 UTC
PROBLEM STATEMENT

A problem exists when a ComboBox has an item that is selected by default when the application loads.  The problem is that 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 menu items that represent the default selected items of both of the ComboBox controls.  (The "combo box" accessibles can be found under the "Example" panel and the "Effects" panel).  Check the states of each accessible in the interface viewer after selecting it.

RESULTS

The accessibles selected in REPRO step 4 have the "focused" state

EXPECTED RESULTS

The accessibles selected in REPRO step 4 should not have the "focused" state because they do not have keyboard focus.

COMMENTS

You can also test this with the combobox_stylechanges.py sample application by setting 'self.combobox.TabStop = 0', so that the combo box does not have keyboard focus when the application starts.
Comment 1 Brian Merrell 2009-06-04 17:16:35 UTC
This is probably just a duplicate of Bug 510048.