Community
Participate
Working Groups
Build: 3.4 1. Fresh workspace. Java perspective open. 2. Open the Plug-in Registry view and check the 'Show Active Plug-ins Only' option in its drop down menu. 3. Open the Preferences dialog and select to the Plug-in Development/API Baselines preference page. At this point, the Plug-in Registry view should update automatically to show that the org.eclipse.pde.api.tool.ui plug-in has been activated. But it doesn't. You have to refresh the view manually from the toolbar to see that it has become active. Note that if the 'Show Active Plug-in Only' filter is off, the icons update automatically and show the green overlay on top of the api.tools.ui plug-in without the need for an explicit refresh.
nice catch Wassim. I'll check that with 3.5 as there was some work around keeping registry up-to-date.
Problem is still in 3.5. It's because bundle state change triggers TreeViewer.refresh(bundle) call, but refresh doesn't work if item is not found (e.g. filtered). This is similar to bug 187200 however it's related to filtered tree filter, whereas here structured tree filters are involved.
duplicate of bug 24521
That certainly seems to be the problem. Thanks for looking into it, Jacek.
(In reply to comment #3) > duplicate of bug 24521 ok, I learned there to call TreeViewer.refresh(getParent(object)) instead of TreeViewer.refresh(object) when filters are enabled. After some testing, it doesn't seem to have any bad performance effects.
Created attachment 122272 [details] patch With this patch issue described by Wassim doesn't happen any more :D
Jacek, the patch doesn't apply cleanly anymore.
Created attachment 122422 [details] patch against updated HEAD updated patch
done. > 20090113 Thanks Jacek!
Created attachment 122426 [details] mylyn/context/zip
Thanks Jacek. May you never dine by yourself like a loser ;)