Skip to main content

Bug Tracker

Side navigation

#3390 closed bug (invalid)

Opened September 22, 2008 07:56AM UTC

Closed September 22, 2008 02:28PM UTC

Last modified September 22, 2008 10:31PM UTC

Implement Webkit's native drag and drop support in the draggables API

Reported by: richardyork Owned by:
Priority: minor Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

Webkit's native drag and drop capabilities include the ability, at least on the Mac OS X version of Safari, to make elements draggable. Once made draggable, the elements can be dragged not only within the browser window, but also dragged from one browser window to another browser window. jQuery's draggables API do not currently provide the ability for dragged elements to leave the host window.

http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/DragAndDrop.html

To see this for yourself all you have to do is add the following declaration to any element via CSS:

div {

-khtml-user-drag: element;

width: 100px;

height: 100px;

background: lightblue;

}

This functionality is important to me, because it lets me extend my file manager, in at least one browser, to allow drag and drop of folders between windows, like a native file manager.

Safari's native drag and drop implementation also seems to let you drag and drop to other places like the desktop, dock, Finder windows, but the API does not seem to include any way to place data in those locations once a drop is made. The methods documented in the preceding URL show that you can copy data to a clipboard, but dropped data looks like data fragments from the clipboard, rather than complete files. Point being, this part of the API may be worth exploring as well.

Attachments (0)
Change History (2)

Changed September 22, 2008 02:28PM UTC by flesler comment:1

resolution: → invalid
status: newclosed

Please repost this to the UI Bug Tracker.

Changed September 22, 2008 10:31PM UTC by richardyork comment:2

OK, you know what, I'm getting just a little tired of the way bug systems step all over the people who bother to report bugs or make feature requests.

How am I supposed to know that you have separate bug trackers? It's not exactly obvious, there is no "Bug Tracker" link on the jQuery UI home page, like there is on the main jQuery home page. And why are these bug trackers separate? It makes no sense. And furthermore, why should I care?

As a submitter, it's not my problem that your bug tracker is poorly organized. YOU should be moving this ticket from here to there.

And by the way, the link you posted goes to a 404 page!

Implement this, don't implement this, I don't care. I'll write my own work-arounds!

And make your system so the user doesn't have to worry about stuff like this! We're not all jQuery developers!