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

Bug 322023

Summary: [Browser-Mozilla] Disabled XULRunner accepts external drops
Product: [Eclipse Project] Platform Reporter: Christopher Deckers <chrriis>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Disabled hierarchy on a XULRunner browser with a draggable label. none

Description Christopher Deckers CLA 2010-08-06 15:03:28 EDT
Build Identifier: SWT 3.6

When XULRunner or an ancestor of XULRunner is disabled, drops do not work as expected.

1. When the dragged data is provided by the same application, XULRunner does not accept the drop but eats it even when an enabled ancestor accepts drops.

2. When the dragged data is provided by an external application (dragging words from a text editor), XULRunner accepts the drop.

The correct behavior should be that dropped data gets ignored by XULRunner and in all cases passed to the closest enabled ancestor that is a drop target (if any).

I believe it only affects a limited number of users, but I know a few of them who require a fix because it is a showstopper for their Linux deployment.

Reproducible: Always

Steps to Reproduce:
cf attachement
Comment 1 Christopher Deckers CLA 2010-08-06 15:06:27 EDT
Created attachment 176061 [details]
Disabled hierarchy on a XULRunner browser with a draggable label.

When dragging and dropping data, maintain the "control" key down, otherwise it is normal for the drag to be rejected (only accept copy).

The attachment contains a label to test dropping data from the same application. You would need to test from an external application too.

This was found with XULRunner 1.9.2.6 on Ubuntu.
Comment 2 Christopher Deckers CLA 2010-08-06 15:13:06 EDT
More info:
- WebKit does not have the issue.
- IE and XULRunner 1.9.0.3 on Windows do not have the issue.
Comment 3 Alexander Kurtakov CLA 2016-12-22 12:17:28 EST
Xulrunner is being phased out so this bug will not be fixed.