Bug 282535 [Markers] The Problem view does not update the status line
Build ID: M20090211-1700 Steps To Reproduce: 1. Set the "Build Automatically" property to true 1. Edit a JAVA file and introduce an error on purpose 2. Save the file => The error is displayed in the Problems View 3. Click on that error in the Problems view => the status line is updated to show the error description 4. Fix the problem in the JAVA file and save it => the Problems view is cleared 5. Set the focus on the Problems view = > the status line is updated to show the error description although this error was fixed More information:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/ExtendedMarkersView.java
MarkerItem[] markerEntries = builder.getMarkerEntries();
						for (int i = 0; i < markerEntries.length; i++) {
							Iterator preserved = preservedSelection.iterator();
							while (preserved.hasNext()) {
								MarkerSelectionEntry next = (MarkerSelectionEntry) preserved
										.next();
								if (next.isEquivalentTo(markerEntries[i])) {
									newSelection.add(markerEntries[i]);
									continue;
								}
							}
						}
						getViewer()
								.setSelection(
										new StructuredSelection(newSelection
												.toArray()), true);
						preservedSelection.clear();
					}
					if (getViewer().getTree().getItemCount() > 0)
						getViewer().getTree().setTopItem(
								getViewer().getTree().getItem(0));
					reexpandCategories(builder);
				} finally {
					tree.setRedraw(true);
				}
				/*
				 * For performance reasons clear caches that might have been
				 * created in updating UI.
				 */
				MarkerEntry[] entries=builder.getMarkerEntries();