Open Bug 404702 Opened 18 years ago Updated 3 years ago

Can end up with a stale translucent drag feedback image in this case

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

Attachments

(2 files, 2 obsolete files)

This can be a bit difficult to reproduce, I'm afraid, it might be easier to reproduce in a debug build, not sure. Load the testcase from the url (from bug 382444), then drag a local file over the browser, wait a little while, then release your left mouse button. Sometimes, the translucent drag feedback image doesn't disappear. (as an alternative to releasing the left mouse button, you can do a right-click, this cancels the drag, but doesn't load the dragged file)
I've seen this using "musikCube", so maybe it's a Windows bug.
This is reproduceable. You can reproduce it by loading this testcase: https://bugzilla.mozilla.org/attachment.cgi?id=266610 , dragging a local file oder the page and releasing the left mouse button/clicking the right mouse button during the refresh when there appears a no-drop cursor for a very short time. If it does not work try a different file or restart firefox.
Attached file Testcase (obsolete) —
You can also use this testcase. It's easier to reproduce. Steps to reproduce: - Load testcase - Be fast, drag a file over the iframe while it says "server not found", do not release the left mousebutton. - When the cursor changes to a no-drop-cursor click the right mouse button (while the left mouse button is still pressed. Be fast. - Release both mouse buttons This bug is reproduceable everytime for me using this method.
And it does not happen only with files. You can reproduce this also by dragging text from another (trunk) firefox/thunderbird process instead of the file. Notice that the drag feedback goes away when you start dragging für example some text in the firefox window or when you drag another file over the window.
This doesn't appear to be related to bug 374593, as I can reproduce it in version post and prior to that patch landing. The browser is getting caught up in what looks like some sort of layout loop problem. As soon as I start dragging an object near firefox's main window the console starts to dump a ton of debug data that looks like this - nsLineLayout: Text(17)@094D5930 metrics=1720320,1140! nsLineLayout: Text(18)@094D5970 metrics=1720320,1140! nsLineLayout: Text(19)@094D59B0 metrics=1720320,1140! nsLineLayout: Text(20)@094D59F0 metrics=1720320,1140! .. Then the browser freezes. I also tested the nightly the day before 374593 got checked in, it was freezing as well and was displaying "aaaaaaaaaaa..." in the iframe. (attached)
Attached file better testcase (obsolete) —
The aaa... and the high cpu load are more or less intended and are not the bug. This bug is about the not disappearing drag feedback. I've attached a better, not hanging, testcase.
Attachment #290984 - Attachment is obsolete: true
Attached file better testcase v1.1
oops, there was a small error in the testcase.
Attachment #291226 - Attachment is obsolete: true
Assignee: nobody → jmathies
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a1) Gecko/20120105 Firefox/12.0a1 This appears to be WFM in a latest nightly. Can someone tuned in confirm?
Assignee: jmathies → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: