Community
Participate
Working Groups
I started with a new workspace and dragged around my outline view. Then I opened a second window and attempted to place its outline view in a similar position. The second window won't allow dragging of any views/stacks. Remy mentioned: Widget widget = (Widget) event.getProperty(EventTags.NEW_VALUE); if (widget instanceof Shell) { if (dndMgr == null) { dndMgr = new DnDManager((MWindow) changedElement); } } PW
(In reply to comment #0) > Remy mentioned: > > Widget widget = (Widget) event.getProperty(EventTags.NEW_VALUE); > if (widget instanceof Shell) { > if (dndMgr == null) { > dndMgr = new DnDManager((MWindow) changedElement); > } > } That's from org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon. Looks like we only ever make a manager for one window, or so it seems to me anyway.
Sheesh, good pickup...patch on the way.
Created attachment 175229 [details] Patch to add a DnDManager to each window
(In reply to comment #3) > Created an attachment (id=175229) [details] > Patch to add a DnDManager to each window Definitely fixed the problem for me. PW
(In reply to comment #4) > Definitely fixed the problem for me. Same.
+1 PW
+1.
Committed in >20100726. Applied the patch.
Verified on XP in I20100726-2152.