Community
Participate
Working Groups
I have a custom MarkerResolution based on org.eclipse.ui.views.markers.WorkbenchMarkerResolution. When the quickfix is invoked via Problems view the dialog to select similar fixable markers appears - however the marker selected in the Problems view is duplicated. As far as I understand the problem lies within org.eclipse.ui.internal.views.markers.QuickFixHandler.execute(ExecutionEvent). Here the list of all markers is passed to the WorkbenchMarkerResolution#findOtherMarkers() method, obviously also containing the selected marker. Since this method is passed no other context than "allMarkers" the returned array naturally also contains the selected marker. However, the selected marker is then again added to the result list, leading to the duplication.
I also met this issue when I want to impl quickfix in our product, the duplicated selection can not be tolerant, So wondering when this issue could be fixed ?
It's waiting on a contribution (helpwanted): See http://wiki.eclipse.org/Platform_UI/How_to_Contribute PW
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Was already fixed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=441573 -> duplicate + already fixed
*** This bug has been marked as a duplicate of bug 441573 ***