Open Bug 546991 Opened 14 years ago Updated 2 years ago

Allow drag & drop of a feed item’s website URL/link

Categories

(Thunderbird :: Message Reader UI, enhancement)

x86
Windows XP
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: bugzilla.mozilla.org-6h11, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.2pre) Gecko/20100218 Lanikai/3.1b1pre

The website URL/link of a feed entry cannot be dragged, for example, to a specific browser window.

Reproducible: Always

Steps to Reproduce:
1. Add a feed
2. Try to drag the URL
Actual Results:  
URL cannot be dragged

Expected Results:  
URL should be dragged like links in the message body.
Version: unspecified → Trunk
(In reply to Lakindu Jayathilaka from comment #2)
> I tried to do the exact same thing with the feed URL of https://selfgrasp.com and it still doesn't work. Anyone has a solution?

I can confirm this issue. The problem is that the mail-urlfield widget has no dragstart event handler: https://searchfox.org/comm-central/rev/681917dc07145ac754b2315ce32091461f315f90/mail/base/content/mailWidgets.js#85

I could confirm that the following addition here is sufficient:

    this.addEventListener("dragstart", event => {
      event.dataTransfer.setData("text/x-moz-url", event.target.textContent);
    });
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.