Project: Eclipse_Platform_UI
Bug 53333 [Workbench] Way too many selection change events are being fired
Reported: 2004-02-27 17:44:02 | Status: resolved fixed

There are way to many selection change events being sent. Since much of the UI is based on responding to selection changes any optimizations in this code path will have a significant benefit. To recreate: Start with the "Hello World" example but write something to the console on every selection change event. Launch the example and activate the action set. Start clicking around in the UI and notice: In several views you get multiple selection change events being processed for single clicks. REALLY IMPORTANT: Try extending selection in an editor and notice that you get tons of events.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/AbstractSelectionService.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinPartService.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WindowSelectionService.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPagePartList.java