Bug 24132 - Cannot drag text
Summary: Cannot drag text
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2009-02-24 13:24 PST by Eric G
Modified: 2009-12-06 13:39 PST (History)
4 users (show)

See Also:


Attachments
test case (2.11 KB, text/html)
2009-02-24 13:39 PST, Eric G
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric G 2009-02-24 13:24:56 PST
I have a test site at:

http://ericgorr.net/safaritest.html

Basically, what I would like to be able to do is drag some text. As best I can determine, the correct method for making this happen hasn't changed since I first reported the problem in 2006.

The first text span on the test site used to be draggable in Safari 2.x, but ceased being so in Safari 3.x and still isn't with the latest release of Safari 4.x.

Please see the following threads:

https://lists.webkit.org/pipermail/webkit-dev/2009-February/006771.html
http://lists.apple.com/archives/webkitsdk-dev/2006/Oct/msg00064.html
http://bytes.com/groups/javascript/550644-javascript-drag-drop

for more history
Comment 1 Eric G 2009-02-24 13:39:29 PST
Created attachment 27930 [details]
test case

Should live indefinitely at http://ericgorr.net/safaritest.html
Comment 2 Eric G 2009-02-24 13:40:00 PST
rdar://problem/4792468
Comment 3 Daniel Bates 2009-10-16 18:28:30 PDT
Seems to work in the current nightly (r49701). Can you confirm?

(In reply to comment #0)
> I have a test site at:
> 
> http://ericgorr.net/safaritest.html
> 
> Basically, what I would like to be able to do is drag some text. As best I can
> determine, the correct method for making this happen hasn't changed since I
> first reported the problem in 2006.
> 
> The first text span on the test site used to be draggable in Safari 2.x, but
> ceased being so in Safari 3.x and still isn't with the latest release of Safari
> 4.x.
> 
> Please see the following threads:
> 
> https://lists.webkit.org/pipermail/webkit-dev/2009-February/006771.html
> http://lists.apple.com/archives/webkitsdk-dev/2006/Oct/msg00064.html
> http://bytes.com/groups/javascript/550644-javascript-drag-drop
> 
> for more history
Comment 4 Eric G 2009-10-16 20:55:26 PDT
Confirmed. It appears to be working as expected now.

Is this a deliberate fix? 
Has making sure this continues to work been added to a test suite?

(I'd like to know that it will remain fixed.)
Comment 5 Oliver Hunt 2009-12-06 13:39:50 PST
We've made a number of drag and drop fixes (including this apparently) all those fixes should have regression tests to ensure that we don't break again.