Bug 9930
Summary: | REGRESSION (r15093): Page auto-scrolls during drag over non-editable content | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | emacemac7, sullivan |
Priority: | P1 | Keywords: | InRadar, Regression |
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
mitz
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
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
We reopened rdar://problem/4267144 on 2006-07-06 because of this, so there's already a Radar bug report about it.
Darin Adler
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
The current behavior seems quite reasonable to me.
Dave Hyatt
In other words, my recommendation would be to close this as invalid.
John Sullivan
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
A compromise might be to autoscroll only if you're editable.
Nicholas Shanks
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
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
The last comment might have been intended for some other bug report. It has nothing to do with this one.
David Kilzer (:ddkilzer)
(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.