Closed
Bug 665704
Opened 13 years ago
Closed 8 years ago
dragleave not fired when dragging outside window
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Core
DOM: Copy & Paste and Drag & Drop
Tracking
()
RESOLVED
DUPLICATE
of bug 656164
People
(Reporter: gopalsharma, Unassigned)
Details
Attachments
(1 file)
1.32 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 When you drag a file into a window, dragenter fires as expected, however, when you drag it outside the window, drag leave does not. If you hit the escape key, dragleave is fired. Reproducible: Always Steps to Reproduce: 1. Open attached index.html file. 2. Drag a file from Finder into the window. If you check the console log, you will see dragenter and dragover are being filed as expected. 3. Without letting go, drag the file outside the window. dragleave is not fired. Actual Results: dragleave is not fired. Expected Results: dragleave should be fired.
Reporter | ||
Comment 1•13 years ago
|
||
Updated•13 years ago
|
Version: unspecified → 4.0 Branch
Comment 2•13 years ago
|
||
Gopal: I have Console turned on, but I am not seeing the the drag events logged to the console. Is there something special I have to do?
Summary: dragleave not fired when dragging outside window → [10.7] dragleave not fired when dragging outside window
Reporter | ||
Comment 3•13 years ago
|
||
Marcia: Not that I know of... I'm just using console.log() to log the messages. You should be seeing them in Firebug's console or in the Web Console (Cmd + Shift + K).
Comment 4•13 years ago
|
||
Does this problem also happen on other versions of OS X than 10.7 (like 10.6)? Does it also happen on other OSes (like Windows or Linux)? Does it happen with a current trunk nightly (e.g. ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/firefox-7.0a1.en-US.mac.dmg)?
Updated•13 years ago
|
Attachment #540586 -
Attachment mime type: text/plain → text/html
Reporter | ||
Comment 5•13 years ago
|
||
I am able to reproduce the problem on the following platform/browser combinations (I have not tried others): Mac OS X 10.7 + Firefox 4 (the build listed above) Mac OS X 10.7 + Nightly (the one you specified) Mac OS X 10.6 + Firefox 4 (the build listed above) Mac OS X 10.6 + Nightly (the one you specified) Windows 7 + Firefox 4 (the build listed above)
Reporter | ||
Comment 6•13 years ago
|
||
Forgot to add: Windows 7 + Nightly (http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-7.0a1.en-US.win64-x86_64.installer.exe)
Updated•13 years ago
|
Summary: [10.7] dragleave not fired when dragging outside window → dragleave not fired when dragging outside window
Updated•13 years ago
|
Component: General → DOM: Events
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: general → events
Hardware: x86 → All
Version: 4.0 Branch → unspecified
Updated•13 years ago
|
Component: DOM: Events → Event Handling
Updated•13 years ago
|
Component: Event Handling → Drag and Drop
QA Contact: events → drag-drop
Comment 7•13 years ago
|
||
I've confirmed this (in a recent nightly) on OS X (10.6 and 10.7), Windows and Linux.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•13 years ago
|
||
Hmm, I see dragleave on[object HTMLDivElement] Entries doing the last Step both on Trunk and on GC 14 on WinXP.
Comment 9•13 years ago
|
||
The testcase is misleading. The problem doesn't happen with the "This is my dropzone ..." object. It does happen dragging into and out of the rest of the page (from the desktop to that part of the page and back again).
Comment 10•13 years ago
|
||
> The problem doesn't happen with the "This is my dropzone ..."
> object. It does happen dragging into and out of the rest of the
> page (from the desktop to that part of the page and back again).
Actually it *does* happen with the "This is my dropzone ..." object,
but only if you drag directly from the desktop onto and off of that
object.
And (as best I can tell) the problem doesn't happen with either part
of the page if you drag over a scrollbar.
Comment 11•13 years ago
|
||
See also bug 656164.
Comment 12•13 years ago
|
||
I can still repro this bug on Windows 7 + Firefox 7.0.1. Dragexit and dragleave are never triggered on the window, document, or fullscreen DOM element.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•