Bug 478541 - ColorDialog:do click action against SmallColorControls are multi selected colors
Summary: ColorDialog:do click action against SmallColorControls are multi selected colors
Status: REOPENED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.0
: P2 - High : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 478615
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-23 05:46 UTC by calen chen
Modified: 2011-01-29 18:01 UTC (History)
0 users

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


Attachments
patch (1.38 KB, patch)
2009-02-23 10:32 UTC, Neville Gao
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description calen chen 2009-02-23 05:46:56 UTC
PROBLEM STATEMENT:

Red color is default selected, Do click action for one SmallColorControl(Blue color as instance) from accerciser that "Red" and "Blue" are multi selected, then do click action for OK button may cause application no response. mouse click OK button may remain 'Red' as selected.

REPRO:

1. run uia2atk/test/samples/colordialog.py 
2. in accerciser, expand 'panel' in the tree view on the left to show many SmallColorControl with 'push button' roll name, select one 'push button'(Blue color as instance), under 'interface viewer' tab, expand AtkAction, do 'click' action
3. select "OK" push button in the tree view on the left, do click action under 'interface viewer' tab , or mouse click OK button to close color dialog

RESULTS: 

in step 2: Red and Blue are both multi selected

in step 3: do click action from accerciser cause application death

EXPECTED RESUlT:

SmallColorControl shouldn't be multi selected.
Comment 1 Neville Gao 2009-02-23 10:32:10 UTC
Created attachment 274615 [details]
patch
Comment 2 Andres Aragoneses 2009-02-25 02:40:02 UTC
Please commit, thanks.
Comment 3 Neville Gao 2009-02-25 08:32:33 UTC
Committed in UIAutomationWinforms r127937. Waiting for SWF patch review.
Comment 4 Andres Aragoneses 2009-02-26 02:47:06 UTC
Neville: sorry, I didn't know this patch depended on a SWF patch not applied yet, so the build was broken when you committed. Furthermore, it's not likely your patch gets backported, so you have to use reflection.
Comment 5 Neville Gao 2009-02-26 02:58:23 UTC
Sorry, Committed in r128049.
SWF patch committed, so marked this as FIXED.
Comment 6 Feng Xia Mu 2009-06-15 06:15:01 UTC
reopen this bug: SmallColorControl still can be multi selected.

REPRO:

1. run uia2atk/test/samples/colordialog.py , click "ColorDialog Button".
2. in accerciser, expand 'panel' with 66 Children in the tree view on the left 
3. select any 'push button', under 'interface viewer' tab, expand AtkAction, do 'click' action.
4. select another 'push button', under 'interface viewer' tab, expand AtkAction, do 'click' action.
3. select "OK" push button in the tree view on the left, do click action under
'interface viewer' tab , or mouse click OK button to close color dialog

RESULTS: 

step 4: there are 3 SmallColorControls selected, but if just use mouse to select the SmallColorControl, at one time there is only one SmallColorControl selected.

step 5: the app won't crash

test on:
mono-core-135601-1177.src.rpm
mono-uia-132785-276.src.rpm
uiaatkbridge-134036-662.src.rpm
uiautomationwinforms-135899-669.src.rpm
Revision: 136086