Bug 319961 Reset perspective fails with parts moved into the editor area
1. Start a fresh e4 workbench 2. Move the Javadoc view into the editor area 3. Reset the perspective 4. Open the Javadoc view Result: The Javadoc view is opened in the editor area. In the bottom stack there still is a tab for the Javadoc view; this tab can be clicked, but it will activate the view in the editor area. The toolbar, however, is shown in the bottom stack.
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/DnDManager.java
dropAgent.drop(dragAgent.dragElement, dndUtil.getCursorInfo());
					} else if (dragAgent != null) {
						dragAgent.cancelDrag();
					}
					dragging = false;
				}
			}
		}
	};
	Listener mouseMoveListener = new Listener() {
		public void handleEvent(Event event) {
			if (dragging) {
				CursorInfo info = dndUtil.getCursorInfo();
				dragAgent.trackDragFeedback(info);
				DropAgent newDropAgent = getDropAgent(dragAgent.dragElement, info);
				if (dropAgent != newDropAgent) {
					if (dropAgent != null)
						dropAgent.dragLeave();
					dropAgent = newDropAgent;
					if (dropAgent != null)
						dropAgent.dragEnter();
				}
			} else {
				if (downPos != null) {
					Point curPos = new Point(event.x, event.y);
					int dx = Math.abs(downPos.x - curPos.x);
					int dy = Math.abs(downPos.y - curPos.y);
					if (dx > DRAG_OFFSET || dy > DRAG_OFFSET) {
						downPos = null;
						startDrag(downInfo);