| Summary: | [IDE] Unhandled event loop exception when cancelling open project | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jens Baumgart <jens.baumgart> | ||||
| Component: | UI | Assignee: | John Arthorne <john.arthorne> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Paul Webster <pwebster> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | darin.eclipse, john.arthorne | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.7 M4 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jens Baumgart
Caused by the fix for bug 139211 PW I'm having a 3.7 week so I'll take this. Created attachment 182322 [details]
Fix
It is actually disingenuous to offer a cancel button here at all. In order to determine if this question is needed, we need to open the project so we can see if it has references. Since we have already opened the project at the point where we prompt, the notion of "Cancel" doesn't really make sense (we would need to close the project again to honor the cancel request properly). At this point the valid options are 1) Yes, please open references, or 2) Don't open references and we are already done.
I have therefore changed from a yes/no/cancel dialog to a simple yes/no dialog. However I still handle the cancel code path in the patch because the user can close the prompt dialog which equates to "do nothing further".
Fixed in HEAD. Verified in I20101202-2256. |