Bugzilla – Bug 478541
ColorDialog:do click action against SmallColorControls are multi selected colors
Last modified: 2011-01-29 18:01:05 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.
Created attachment 274615 [details] patch
Please commit, thanks.
Committed in UIAutomationWinforms r127937. Waiting for SWF patch review.
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.
Sorry, Committed in r128049. SWF patch committed, so marked this as FIXED.
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