Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347561 - Cannot create new stacks in detached windows
Summary: Cannot create new stacks in detached windows
Status: CLOSED DUPLICATE of bug 347983
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 7
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-28 17:19 EDT by Remy Suen CLA
Modified: 2011-06-01 14:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2011-05-28 17:19:46 EDT
1. Detach a part.
2. Try to drag another part into that area to make two stacks laid out side-by-side horizontally. You will see that the green rectangle overlay is messed up.
3. Release the mouse button. A CCE will occur.

java.lang.ClassCastException: org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl cannot be cast to org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement
	at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent.dock(SplitDropAgent.java:307)
	at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent.drop(SplitDropAgent.java:151)
	at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.finishDrag(DnDManager.java:257)
	at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.startDrag(DnDManager.java:233)
	at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager$3.handleEvent(DnDManager.java:110)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4163)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:944)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:860)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:87)
Comment 1 Eric Moffatt CLA 2011-06-01 14:21:00 EDT

*** This bug has been marked as a duplicate of bug 347983 ***