Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325146 - Editor area may disappear after dragging a view into it
Summary: Editor area may disappear after dragging a view into it
Status: RESOLVED WORKSFORME
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 321864
  Show dependency tree
 
Reported: 2010-09-13 14:00 EDT by Remy Suen CLA
Modified: 2011-06-20 14:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.