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

Bug 362291

Summary: Drag in Webkit Browser is disabled.
Product: [Eclipse Project] Platform Reporter: Liu, Hongbo <hongbo.liu>
Component: SWTAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe
Version: 4.2   
Target Milestone: 3.8 M4   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Liu, Hongbo CLA 2011-10-28 06:41:10 EDT
Build Identifier:  I20110613-1736; I20110805-1200

Drag in Webkit Browser is disabled in WebKit.java due to a bug of WebKitGTK:
/*
		* Bug in WebKitGTK.  Dragging an image quickly and repeatedly can cause
		* WebKitGTK to take the mouse grab indefinitely and lock up the display,
		* see https://bugs.webkit.org/show_bug.cgi?id=32840.  The workaround is
		* to veto all drag attempts.
		*/

But it seems that the bug is fixed. So we might re-enable the drag in browser.

Reproducible: Always

Steps to Reproduce:
1. create a Browser using new Browser(shell, SWT.WEBKIT);
2. run, open a page and try to drag something in the browser 
3. The drag is disabled.
Comment 1 Grant Gayed CLA 2011-10-31 10:55:08 EDT
Thanks for reminding me of this.  Fixed > 20111031, patch is at http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=3be8a9ab2093c28258e90131291f305bc84e88cf .