Project: Eclipse_Platform_UI
Bug 56491 [Tasks] DeleteCompletedTasks requires Markers to be refreshed
Reported: 2004-03-28 02:24:00 | Status: resolved fixed

3.0 M8 If you create a new user defined task and mark it completed by clicking on the first column or by using the context menu, the delete completed task actino does not pick up the completed task. However it does work after the markers have been refreshed (eg project rebuild). to test: 1. create a user defined marker, ensuring it is not created as completed 2. click on the first column to mark it as complete 3. select delete completed tasks from the context menu, notice it doesn't pick up the task 4. perform a project re-build (Project|clean...) 5. repeat step 3, it now picks up the marker as complete It looks like the underlying IMarker is being updated, but the concrete TaskMarker is not. The action is looking at the concrete markers.

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ConcreteMarker.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerList.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemMarker.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TaskMarker.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TaskView.java