Bug 465597 - ToolStripSplitButton: "selected" and "focused" states of menuitem will be preserved even if another menuitem is seleced and focused
Summary: ToolStripSplitButton: "selected" and "focused" states of menuitem will be pre...
Status: VERIFIED FIXED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - ATK (show other bugs)
Version: Unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Brad Taylor
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 03:58 UTC by Ray Wang
Modified: 2009-02-02 05:46 UTC (History)
0 users

See Also:
Found By: ---
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 Ray Wang 2009-01-13 03:58:09 UTC
PROBLEM STATEMENT:
when i perform 'click' action on the toolstripmenuitem(which is in toolstripsplitbutton.py located in samples directory) first time, the accessible get extra "selected" and "focused" states, but when i perform 'click' action on another toolstripmenuitem, the previous one still has "selected" and "focused" states, Is that intentional?

REPRODUCE:
1. launch uia2atk/test/samples/toolstripsplitbutton.py and accerciser
2. open "Interface viewer" tag
3. expand "Accessible" and "Action" 
4. expand "ipy" from left side, "ipy" -> "ToolStripSplitButton Control" -> "ToolStrip" -> (empty) filter -> (empty) toggle_button -> "10"
5. click "click" action and click "Perform action" from "Action", you will see the extra states, "selected" and "focused" appeared in "states".
6. locate at another menuitem(e.g. 12) and perform the same process as "10". you will see "selected" and "focused" states appeared in "states".

RESULTS:
both of "10" and "12" have "selected" and "focused" states

EXPECTED RESULTS:
only one menuitem could maintain "selected" and "focused" states
Comment 2 Brad Taylor 2009-01-29 14:42:29 UTC
Fixed in r124924.
Comment 3 Ray Wang 2009-02-02 05:46:51 UTC
Verified in trunk r125179
     
gtk-sharp2-125244-9.i586.rpm     
libgdiplus0-122354-33.i586.rpm   
mono-core-2.4-68.i586.rpm         
mono-winforms-2.4-68.i586.rpm
mono-uia-124749-248.i586.rpm
mono-winfxcore-124749-248.i586.rpm
uiaatkbridge-125179-492.i586.rpm
uiautomationwinforms-125180-520.i586.rpm