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

Bug 111682

Summary: [FastView] Fast view icon cannot be dragged back to tab group
Product: [Eclipse Project] Platform Reporter: David Saff <david>
Component: UIAssignee: Eric Moffatt <emoffatt>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description David Saff CLA 2005-10-05 15:45:47 EDT
A tab from view can be dragged into the fast view area to be changed into a fast
view.  Before M2, it was possible to drag the fast view icon back to a tab group
to turn the fast view back into a normal view.  In M2, this doesn't happen: the
cursor doesn't change to indicate that the view has been "picked up", and some
weird view-like artifacts appear (see attached screenshot).  The "Fast View"
checkbox on the icon's context menu still works, however.
Comment 1 David Saff CLA 2005-10-05 15:46:39 EDT
Created attachment 27902 [details]
Screenshot
Comment 2 David Saff CLA 2005-10-05 15:47:42 EDT
Aha.  And here's the stack trace from the error log:

java.lang.NullPointerException
	at org.eclipse.ui.internal.PartSashContainer.drag(PartSashContainer.java:1034)
	at org.eclipse.ui.internal.dnd.DragUtil.getDropTarget(DragUtil.java:338)
	at org.eclipse.ui.internal.dnd.DragUtil.getDropTarget(DragUtil.java:361)
	at org.eclipse.ui.internal.dnd.DragUtil$2.run(DragUtil.java:217)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:3527)
	at org.eclipse.ui.internal.dnd.DragUtil$1.handleEvent(DragUtil.java:211)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:884)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:908)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:893)
	at org.eclipse.swt.widgets.Tracker.wmMouse(Tracker.java:1030)
	at org.eclipse.swt.widgets.Tracker.open(Tracker.java:509)
	at org.eclipse.ui.internal.dnd.DragUtil.dragToTarget(DragUtil.java:292)
	at org.eclipse.ui.internal.dnd.DragUtil.performDrag(DragUtil.java:124)
	at org.eclipse.ui.internal.FastViewBar.startDrag(FastViewBar.java:551)
	at org.eclipse.ui.internal.FastViewBar.startDraggingFastView(FastViewBar.java:527)
	at org.eclipse.ui.internal.FastViewBar$1.handleEvent(FastViewBar.java:106)
	at
org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(PresentationUtil.java:96)
	at org.eclipse.ui.presentations.PresentationUtil.access$4(PresentationUtil.java:89)
	at
org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(PresentationUtil.java:61)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:884)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3194)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2823)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1755)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:368)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
	at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:377)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 3 Eric Moffatt CLA 2005-10-06 14:35:25 EDT

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