Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 9423

Summary: Toggling between problems with hotkey doesn't update status line
Product: [Eclipse Project] JDT Reporter: John Arthorne <john.arthorne>
Component: UIAssignee: Erich Gamma <erich_gamma>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P2 Keywords: usability
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description John Arthorne CLA 2002-02-11 15:20:53 EST
Build 20020205

If you have a java class with multiple build problems, you can use Ctrl+E and 
Ctrl+Shift+E to toggle between the problems.  Unfortunately using the hotkeys 
does not update the error message in the status line, so it is not possible to 
figure out what the error message is.  If you use the actions in the Edit menu, 
the status line is correctly updated.  This is an accessibility problem for 
mouseless users that don't want to use the task list.
Comment 1 Kai-Uwe Maetzel CLA 2002-03-01 05:02:01 EST
In both cases the error message is set to the status line manager. However, the 
line is only visually updated when using the toolbar buttons. See
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.gotoError(boolean)

Marked critical as part of Java Editor Improvement.
Comment 2 Tod Creasey CLA 2002-03-06 10:07:54 EST
Reclassified as usability - this functionality is still possible using the 
Tasks View.
Comment 3 Eduardo Pereira CLA 2002-03-22 14:40:40 EST
The status line is being updated in both cases: when using the toolbar and 
Ctrol+E. The problem is that CompilationUnitEditor.setStatusLineErrorMessage is 
reseting the message in the SelectionChangedListener.

Add a break point inside the method: selectionChanged(...)			

fStatusLineClearer= new ISelectionChangedListener() {
 public void selectionChanged(SelectionChangedEvent event) {
Comment 4 Martin Aeschlimann CLA 2002-05-01 06:57:26 EDT

*** This bug has been marked as a duplicate of 13617 ***