Bug 530976 - Improved use of Control.Invoke and related exception handling available in Mono 2.6?
Summary: Improved use of Control.Invoke and related exception handling available in Mo...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Unspecified
Hardware: Other Other
: P5 - None : Enhancement
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 18:17 UTC by Sanford Armstrong
Modified: 2009-08-13 18:17 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 Sanford Armstrong 2009-08-13 18:17:26 UTC
Historically in UIAutomationWinforms, for example, we frequently invoke methods on Controls in their UI thread using *Invoke methods.  A problem with this has been that in Mono, exceptions did not propagate to us correctly, and we were unable to handle them.  With the recent fix for bug #497175, we may now have an opportunity to correct this.

Tasks for this bug:
1) Investigate if the fix for bug #497175 has caused any changes (good or bad) in the behavior of UIAutomationWinforms.  Do this by running unit tests, strongwind tests, and performing some manual testing.  Address any new problems found.

2) Investigate if the fix for bug #497175 allows us to use Invoke instead of always using BeginInvoke (or alternatively, we could use BeginInvoke+EndInvoke).

3) Investigate if we can improve handling of exceptions originating from MWF by switching to Invoke or Begin+End.