Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 443787 - [terminals] SWT Error: "Cannot Initialize Drag" when dragging tabs between views
Summary: [terminals] SWT Error: "Cannot Initialize Drag" when dragging tabs between views
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Target (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Uwe Stieber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-11 04:20 EDT by Anton Leherbauer CLA
Modified: 2014-09-11 06:37 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Leherbauer CLA 2014-09-11 04:20:42 EDT
Quickly dragging multiple tabs from one Terminals view to another can cause this SWT Error:
org.eclipse.swt.SWTError: Cannot initialize Drag
	at org.eclipse.swt.dnd.DND.error(DND.java:272)
	at org.eclipse.swt.dnd.DND.error(DND.java:238)
	at org.eclipse.swt.dnd.DragSource.<init>(DragSource.java:157)
	at org.eclipse.tcf.te.ui.terminals.view.TerminalsView$1.handleEvent(TerminalsView.java:203)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	[...]

The error indicates that a DnD operation on the same control is not yet complete.
Comment 1 Anton Leherbauer CLA 2014-09-11 05:35:37 EDT
Proposed fix: https://git.eclipse.org/r/33236
Comment 2 Martin Oberhuber CLA 2014-09-11 06:37:39 EDT
Proposed fix was merged - thanks for the contribution !