Community
Participate
Working Groups
Run Snippet111. It uses the Selection event to open an editor. On Cocoa, we only send Selection events when the selection really changes, therefore it's impossible to open the editor with this snippet.
I agree, a widget (a Tree in my case) with an already selected element but no focus should emit a selectionChanged event when gaining focus. Environment: WinXP, Eclipse 3.5 My use case: 2 different widgets (widget1, widget2) as selection providers of a View. When both have a selection, and focus switches from widget1 to widget2 by directly right-clicking on the selected element of widget2, no selectionChanged event gets emitted -> the context menu's selection context is the now inactive element of widget1.
This bug affects the Tree widget only (at least in my case).
*** This bug has been marked as a duplicate of bug 279103 ***