Bug 319169 [UI] active parts in Detached windows prevent activating a part in the main window
Start with a fresh WS Detach the Outline view using DnD Now you can no longer activate any part in the main window (i.e. Package Explorer). The cause seems to be that the 'rootContainer' has become the DW's MTrimmedWindow rather than the DW's containing MPerspective. This causes the PartService's 'activate' to fail the 'isInContainer()' test...
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
}
				if (selectedPart != null && selectedPart.isToBeRendered()
						&& getParts().contains(selectedPart)) {
					firePartVisible(selectedPart);
					firePartBroughtToTop(selectedPart);
				}
			}
		}
	};
	@Inject
	private MApplication application;
	/**
	 * This is the specific implementation. TODO: generalize it
	 */
	
	
	private MElementContainer<MUIElement> rootContainer;
	@Inject
	public void setRootContainer(@Named(EPartService.PART_SERVICE_ROOT) MElementContainer root) {
		rootContainer = root;
	}
	@Inject
	private IPresentationEngine engine;
	@Inject
	private EModelService modelService;
	@Inject
	private Logger logger;
	@Inject
	@Optional
	private ISaveHandler saveHandler;