Community
Participate
Working Groups
This bug applies only if a debugger refreshes a view (using IModelDelta.REFRESH), or user refreshes it through a debugger-contributed action. Then user selects collapse-all action. What follows is a view that looks very broken (see attachment). This bug seems to be caused by a low-level SWT issue (bug 356414), but it could be worked around by having the collapse-all action call TreeViewer.refresh() after calling collapseAll().
Created attachment 202569 [details] Screenshot of bug.
Created attachment 202848 [details] Workaround patch in case fixing the underlying bug 356414 is a problem.
Pawel, how do you want to proceed on this ?
(In reply to comment #2) > Created attachment 202848 [details] > Workaround patch in case fixing the underlying bug 356414 is a problem. My vote would be to not apply a workaround to debug. Reasons for my vote: 1. the encounter rate for this issue is very low 2. the workaround introduces a negative performance impact 3. we will inevitably forget about the workaround, and when SWT fixes the other bug we will have a performance hit with no side benefits. I would mark this issue as 'readme' and push on SWT to fix the underlying problem.
(In reply to comment #4) > My vote would be to not apply a workaround to debug. I don't think there's any real performance impact in the workaround, but I'd also rather fix the real bug, especially since it's a low level one.
Fixed by SWT *** This bug has been marked as a duplicate of bug 356414 ***