Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325146

Summary: Editor area may disappear after dragging a view into it
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 321864    

Description Remy Suen CLA 2010-09-13 14:00:36 EDT
1. Open a file.
2. Drag the 'Problems' view into the editor stack.
3. Close the 'Problems' view.
4. Drag the file's tab and "split" the editor stack. It will not actually split of course.
5. Close the editor.
6. The editor area is now gone. Reopening an editor will bring it back.
Comment 1 Eric Moffatt CLA 2010-09-29 16:11:02 EDT
Whoa, this is still there even with the new 'area' in place...and the MArea does *not* come back when you re-open an file...
Comment 2 Remy Suen CLA 2010-10-07 17:17:51 EDT
(In reply to comment #1)
> Whoa, this is still there even with the new 'area' in place...and the MArea
> does *not* come back when you re-open an file...

It comes back now but I get an NPE. If I open the 'Problems' view first there doesn't seem to be a problem.

java.lang.NullPointerException
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.getParentWithContext(PartServiceImpl.java:227)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.internalFixContext(PartServiceImpl.java:275)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:251)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:771)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:824)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2205)
	at org.eclipse.ui.internal.WorkbenchPage.access$14(WorkbenchPage.java:2172)
	at org.eclipse.ui.internal.WorkbenchPage$6.run(WorkbenchPage.java:2154)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2150)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2134)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2125)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
Comment 3 Remy Suen CLA 2011-06-20 14:47:39 EDT
Cannot reproduce with I20110617-1015 on Windows XP.