Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 42858 - [Jobs] Offer a way to clear errors without opening Progress view
Summary: [Jobs] Offer a way to clear errors without opening Progress view
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-10 08:20 EDT by Dani Megert CLA
Modified: 2004-02-11 15:26 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2003-09-10 08:20:02 EDT
I20030909

Currently if an error occurs in a background job and want to get rid of the red
blinking I have to
1. go to the lower left icon
2. double-click it to open the Progress view
3. clear the error state
4. close the view again (I know I could use fast view).

It would be good if
- the hover would show the error
- I could clear the errors (maybe only the state so that I can look at the
errors later?) directly via the icon (e.g. context menu)
Comment 1 Tod Creasey CLA 2004-01-07 15:32:19 EST
There is now an error dialog that collects up errors. Progress View is not 
required for this anymore.
Comment 2 Dani Megert CLA 2004-01-08 02:24:45 EST
How do I access the dialog?
Comment 3 Tod Creasey CLA 2004-01-08 08:13:53 EST
Do you mean programmatically or physically? It will pop up on its own whenever 
a job returns a status with an Error
Comment 4 Dani Megert CLA 2004-01-08 09:43:19 EST
I meant physically.
Comment 5 Tod Creasey CLA 2004-01-08 09:57:13 EST
OK great. Is there anything you see as a problem with this solution then?
Comment 6 Dani Megert CLA 2004-01-08 10:03:47 EST
What if there's a job which causes errors all the time? Will I get interrupted
by dialogs all the time?

With the old solution I had to go via view but at least I was in the loop to
decide when to do this.
Comment 7 Tod Creasey CLA 2004-01-08 10:19:29 EST
No - you will get one non modal dialog that just gets added to if new errors 
arrive. I wanted to prevent the tons o' dialogs issues we have had in the past.
Comment 8 Markus Keller CLA 2004-01-15 06:01:27 EST
As Dani mentioned in comment 6, you'll have a real problem if a background job
repeatedly causes an error. In fact, the UI gets almost completely blocked by
the modal error dialog.

You can see that when you provoke bug 48502:
public class Example {
	public Example() {	}
	// <- insert '{' before comment
	public static void main(String[] args) { }
}

Inserting the brace causes an exception in SelectionListenerWithASTManager,
which reopens the error dialog instantly after is has been closed.

To avoid blocking the UI, the error dialog must at least be modal and not take
the focus. However, I personally would prefer the solution from comment 0.
Comment 9 Markus Keller CLA 2004-01-15 06:16:27 EST
Oops, I overlooked that the error dialog is already non-modal. But I still think
that the dialog should not take focus when it opens.

Focus or not, I see an accessibility problem:
- Dialog takes focus:
How can a blind user get out of the loop by only using the keyboard? I'm not
aware of a shortcut to re-activate the editor when the non-modal dialog is shown.
- Dialog doesn't take focus:
How can the blind user activate the error dialog to see what's in there?
Comment 10 Dani Megert CLA 2004-01-15 10:13:50 EST
Marku, the diaog is not modal and the other problem is captured in bug 49999.
Suggest to close this one again.
Comment 11 Markus Keller CLA 2004-01-15 10:32:13 EST
Closing, I should have added my comments to bug 49999. Sorry for the confusion. 
Comment 12 Tod Creasey CLA 2004-02-11 15:26:18 EST
Verified in 20040210