Closed Bug 443377 Opened 16 years ago Closed 10 months ago

Drag'n'drop does not use link title (regression)

Categories

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

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: volkmarkostka, Unassigned)

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a1pre) Gecko/2008070203 Minefield/3.1a1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a1pre) Gecko/2008070203 Minefield/3.1a1pre

If you drag a link from a page to another application FF3 does not copy the link title as FF2 did.

Reproducible: Always

Steps to Reproduce:
1. Open e.g. http://noscript.net/?ver=1.6.8&prev=1.5.6
2. Drag the first link (How NoScript delivers usable security) to Wordpad or even to a firefox edit field.
Actual Results:  
Only the link itself is pasted.
http://noscript.net/?ver=1.6.8&prev=1.5.6#basics


Expected Results:  
The link and the link text should be pasted as in FF2.
http://noscript.net/?ver=1.6.8&prev=1.5.6#basics
How NoScript delivers usable security

Definitely a regression as it works in FF2.0.0.14 (and .15).
ADD: This is also valid for dragging urls from the address bar. FF2 copies the page title with the url, FF3 only the url.
Confirm for
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a1pre) Gecko/2008070303 Minefield/3.1a1pre
This is also happening on Vista HP SP1 and today's trunk. Marking confirmed.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1a1pre) Gecko/2008070303 Minefield/3.1a1pre Firefox/3.0 ID:2008070303
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
This is to confirm that this issue is still reproducible on 
Name 	Firefox
Version 	45.0.2
Build ID 	20160407164938
User Agent 	Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Firefox/45.0
Severity: normal → S3
Severity: S3 → --
Component: General → DOM: Copy & Paste and Drag & Drop
Product: Firefox → Core

I don't know what this bug is about honestly. If I drag a url to a <textarea>, the url itself is copied over, but not the url text. This is also the behaviour in Chrome.

Edgar, do you know anything about this bug? Can we close it?

Flags: needinfo?(echen)

(In reply to Volkmar Kostka from comment #0)

The link and the link text should be pasted as in FF2.
http://noscript.net/?ver=1.6.8&prev=1.5.6#basics
How NoScript delivers usable security

I guess reporter expect to get the data in

<url>
<url title>

format, which looks like a format of text/x-moz-url to me.
I do see there are some difference on the order of format between FF45 and current release when drag a link, but the content on each format is the same.
I also compare with Chrome, the data is the same, but the order of format is different.
Since this bug is pretty old, lets just close, feel free to open a new bug if you still encounter similar issue.

Status: NEW → RESOLVED
Closed: 10 months ago
Flags: needinfo?(echen)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.