Closed Bug 234921 Opened 21 years ago Closed 15 years ago

If I drag-and-drop image to wordpad.exe, I get URL twice

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 484667

People

(Reporter: amorrow, Unassigned)

References

()

Details

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 Getting just the URL is fine, but getting it twice cannot be what anyone wants. Reproducible: Always Steps to Reproduce: 1. Start mozilla.exe and wordpad.exe and get mozilla to that URL 2. Start the drag with the pointer over the image and drop into the middle of an empty doc in wordpad.exe. 3. URL(s) appear in wordpad.exe Actual Results: Wordpad.exe now contains: http://www.mozilla.org/quality/browser/front-end/testcases/drag-drop/drag-url-browser-browser/shuttle_large.jpg http://www.mozilla.org/quality/browser/front-end/testcases/drag-drop/drag-url-browser-browser/shuttle_large.jpg Expected Results: I expected to get the URL once, or if you wanted to be like IE, to get the image inserted. Getting a URL is fine, but getting it twice cannot possible be right.
Confirming. I see this as well with: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040312 Firefox/0.8.0+ and see no obvious duplicates.
Assignee: general → firefox
Component: Browser-General → XP Apps: Drag and Drop
QA Contact: general → pmac
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 273248 has been marked as a duplicate of this bug. ***
Assignee: bross2 → nobody
QA Contact: pmac
Thunderbird needs better drag and drop support. Patch is up for this bug as well as ones to implement x-moz-file and x-moz-promise-file-urls. Can we get those in 1.9.1 so TB3 will have it. The patches are as follows. Minor work still need done but won't do any good if they are not in the plans for 1.9.1. bug 484667 bug 491239 bug 494989
QA Contact: drag-drop
from IE the drop data includes a temp file Items count = 1 ********************************* Item 0: type count = 2 ------------------------------ 0: type = "application/x-moz-file" data type = "object" [xpconnect wrapped nsISupports] C:\Documents and Settings\philinternet\Local Settings\Temporary Internet Files\Content.IE5\S561GJ0H\B00006TLTP.08.LZZZZZZZ[1].jpg ------------------------------ 1: type = "text/x-moz-url" data type = "string" http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg from FF we use various flavors none of which use temp files used by outside apps. Items count = 1 ********************************* Item 0: type count = 12 ------------------------------ 0: type = "text/x-moz-url" data type = "string" http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg ------------------------------ 1: type = "text/x-moz-url-data" data type = "string" http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg ------------------------------ 2: type = "text/x-moz-url-desc" data type = "string" http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg ------------------------------ 3: type = "text/uri-list" data type = "string" http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg ------------------------------ 4: type = "text/_moz_htmlcontext" data type = "string" <html><body></body></html> ------------------------------ 5: type = "text/_moz_htmlinfo" data type = "string" 0,0 ------------------------------ 6: type = "text/html" data type = "string" <img alt="http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg" src="http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg"> ------------------------------ 7: type = "text/plain" data type = "string" http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg ------------------------------ 8: type = "application/x-moz-nativeimage" data type = "object" [xpconnect wrapped nsISupports] ------------------------------ 9: type = "application/x-moz-file-promise" data type = "object" [xpconnect wrapped nsISupports] ------------------------------ 10: type = "application/x-moz-file-promise-url" data type = "string" http://images-eu.amazon.com/images/P/B00006TLTP.08.LZZZZZZZ.jpg ------------------------------ 11: type = "application/x-moz-file-promise-dest-filename" data type = "string" B00006TLTP.08.LZZZZZZZ.jpg
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.