Community
Participate
Working Groups
The LSR attaches an an SWT.Activate listener in hookControllerLogic(MUIElement). This can have fatal repercussions (besides the obvious that it downcasts to CTabFolder without a care in the world) as it arbitrarily activates the stack's selected element. On win32 (and other platforms?), when an item is clicked on in the CTF, an activation event is fired. Consider the following scenario... 1. An editor is open with two views in a stack below. 2. View A is selected. 3. The editor is active. 4. The user selects view B to activate it. 5. SWT picks up this activation event and the LSR handles the stack's selected element, that is, view A. The selection event comes later and then view B is activated. So we're getting two activation events for one action and we certainly do not want this to happen in this context. It is causing me problems with bug 307199.
I've marked this as a dup of 307199 since that's where the patch is...it also fixes the issues described there. *** This bug has been marked as a duplicate of bug 307199 ***