When the workbench starts, selection listening works. I close the view, re-open it, and MOVE the view, and selection works. I close the view, do NOT move the view, and selection does NOT work. Then i move the view, and selection works magically.
Basically, whenever the view is created, selection does not work. Then any of the following actions will allow selection-events to be received:
- Switching to a previously hidden view
- Moving focus to a different application, then back to eclipse
- moving a view (any view) from one location to another