NEW 9930
REGRESSION (r15093): Page auto-scrolls during drag over non-editable content
https://bugs.webkit.org/show_bug.cgi?id=9930
Summary REGRESSION (r15093): Page auto-scrolls during drag over non-editable content
mitz
Reported 2006-07-15 04:43:27 PDT
Dragging text from another window over the top or bottom of a Safari window causes the latter to auto-scroll. This has been addressed before in the fix for rdar://problem/4267144 and regressed again in r15093.
Attachments
mitz
Comment 1 2006-07-15 06:00:09 PDT
Reading the change log, I see that the change was intended to allow autoscrolling to such drop destinations as textareas and file upload controls.
Darin Adler
Comment 2 2006-07-15 06:13:33 PDT
We reopened rdar://problem/4267144 on 2006-07-06 because of this, so there's already a Radar bug report about it.
Darin Adler
Comment 3 2006-07-15 06:14:18 PDT
Comments from John Sullivan: "A recent change reintroduced this issue, more or less on purpose. (The argument is that you might be dragging a file over the page in order to drop it into an editable area or file-upload control.) "We'll have to figure out if there's a compromise solution that will make everyone not too unhappy."
Dave Hyatt
Comment 4 2006-07-15 17:38:59 PDT
The current behavior seems quite reasonable to me.
Dave Hyatt
Comment 5 2006-07-15 17:39:17 PDT
In other words, my recommendation would be to close this as invalid.
John Sullivan
Comment 6 2006-07-15 17:54:48 PDT
I disagree with Hyatt. I specifically fixed this issue a while back because it was reported as an annyoing regression. There's one scenario in particular that is easy to run into -- you have a Safari window open, which takes up much of the screen (generally all the way down to the Dock), and you drag a text file in the Finder from one place to another (perhaps to the Dock) -- it happens to cross the Safari window, and the Safari window scrolls, and scrolls pretty rapidly.
Dave Hyatt
Comment 7 2007-01-12 00:52:58 PST
A compromise might be to autoscroll only if you're editable.
Nicholas Shanks
Comment 8 2007-04-08 16:10:43 PDT
I think dragging NSStringPboardTypes into a text area that's scrolled out of sight is more common than dragging NSURLPboardTypes into a file upload well that is scrolled away. Perhaps it only needs to be done in one case, or that there be a few second wait-delay before scrolling begins.
Maxime BRITTO
Comment 9 2007-06-22 07:45:31 PDT
On safari 3beta / r23737. When I press back button while reading a mail I come back to the page just before my InBox (the login page)
John Sullivan
Comment 10 2007-06-22 09:13:55 PDT
The last comment might have been intended for some other bug report. It has nothing to do with this one.
David Kilzer (:ddkilzer)
Comment 11 2007-06-22 10:52:21 PDT
(In reply to comment #9) > On safari 3beta / r23737. > When I press back button while reading a mail I come back to the page just > before my InBox (the login page) (In reply to comment #10) > The last comment might have been intended for some other bug report. It has > nothing to do with this one. Probably Bug 4396.
Note You need to log in before you can comment on or make changes to this bug.