Community
Participate
Working Groups
There are a number of glitches that can be induced using DnD. Most notably we leave the result in a partially activated state... For example if you drag a part out to detach it the result is that the 'active' style remains on the stack that it came from and it loses its focus. The solution is to *force* a re-activation of the part once the DnD operation is finished...
Here's a first cut...may still need polish... https://git.eclipse.org/r/13087
*** Bug 408756 has been marked as a duplicate of this bug. ***
Committed: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=2fdbb42289e99cf4488345d0482ee8bf30bea4f8 This does a few things: - Switched from using the @Inject @Named(...ACTIVE_PART) mechanism to using the UILifeCycle ACTIVATE event (which is fired even if the active part doesn't really change (i.e. you drag it from one stack to another) - moves the management of the style for the stacks into the StackRenderer (and out of the WBWRenderer) - Changes the StackDropHandler to merge a dragged stack by moving over the non-selected elements first to avoid churn.
Verified in 4.4.0.I20130915-2000.