| Summary: | [Progress] No prompting on errors from jobs | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> |
| Component: | UI | Assignee: | Szymon Brandys <Szymon.Brandys> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P1 | CC: | david_williams, john.arthorne, markus.kell.r, Michael.Valenta, Tod_Creasey, tom.seidel, wayne.beaton |
| Version: | 3.3 | ||
| Target Milestone: | 3.3 M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 169504 | ||
|
Description
Dani Megert
NOTE: only showing an indication in the progress area wouldn't be good enough: there has to be a dialog in such a scenario. This applies to all background jobs. The problems was introduced by the fix to bug 166800 which removed the call to the error manager when a status severity was ERROR. I have reverted the ProgressManager to the pre-166800 state in HEAD. As part of that reverse, the call to the status manager was removed. I'll leave this open in case work needs to be done to properly integrate the status manager into the progress manager. Note this can easily be tested using the Job Factory view in org.eclipse.ui.examples.jobs. Just check off the "Fail" checkbox and schedule a job. Accidentally changed priority... A patched version of the 3.3 M4 jar can be found here: http://dev.eclipse.org/viewcvs/index.cgi/platform-ui-home/patch/168720/org.eclipse.ui.workbench_3.3.0.I20061214-1401patch.jar?revision=1.1 Szymon this is due to the error handling changes. (In reply to comment #6) > Szymon this is due to the error handling changes. > Yes, you are right. Thanks John for the patch. The problem is that the error handling facility doesn't show an error dialog, even if the handling hint is set to SHOW. When I add the dialog, I will apply my changes again and it should work. John just reminded me that the Jobs error dialog has a bunch of special handling. For instance, if the dialog is open and additional errors occur, the dialog will add those errors to the list of errors being displayed in order to avoid multiple error prompts. Also, the Jobs error dialog shows a button that performs the job's action if there is one. For instance, for CVS errors, a button with Show CVS Console is added to the dialog to lead the user to the console which may have additional information. any replacement error dialog should have these features. It is rolled back as Michael mentioned in comment #2. I will raise another bug for hooking the error handling into job stuff. *** Bug 171676 has been marked as a duplicate of this bug. *** *** Bug 174913 has been marked as a duplicate of this bug. *** |