Closed Bug 45761 Opened 25 years ago Closed 20 years ago

Implement text/x-moz-url on Unix (D&D to desktop)

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.0.1

People

(Reporter: BenB, Assigned: blizzard)

References

Details

<http://www.mozilla.org/xpfe/xptoolkit/DataFlavors.html> Reproduction: Drag a link from Mozilla to Navigator 4.x. Actual result: nothing Expected result: The URL loads in Nav. 4.x.
Summary: Implement application/x-moz-url on Unix → Implement text/x-moz-url on Unix
Summary: Implement text/x-moz-url on Unix → Implement text/x-moz-url on Unix (D&D to desktop)
mass assign
Status: NEW → ASSIGNED
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Suggest reopening: Using 2000-08-31-21 dragging an URL from the URL-Bar to Netscape causes Netscape 4.75/Linux to open this URL: "http://www.mozilla.org/ ( TEMP TITLE)" which obviously doesn't work. The "( TEMP TITLE )" is supposed to be the windows title when dragging to the bookmark folder. Since this doesn't work, the "( TEMP TITLE)" is used, which is added to the URL in Netscape, which is wrong. (Dragging to Qt 2.2.0 doesn't work (which might be a Qt fault), dragging from Netscape doesn't work, see bug 51031)
Got blizzard's checkin, and it doesn't work for me either. I can drag URLs neither to the GNOME desktop (X background) nor to 4.x. REOPENing. A drag from 4.x *to* Mozilla works, though.
Now dragging from NS works. Mozilla should use 'text/uri-list' which is "the standard way" of dragging URIs, presently it uses [when using this bookmark thing left of the URL bar] (according to DnD example of Qt 2.2.0): text/unicode text/plain text/x-moz-url _NETSCAPE_URL text/html
Ok, after talking to pink a little bit I'm re-opening this bug. For xlating to _NETSCAPE_URL and to text/uri-list it should chomp off the title at the end.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Target Milestone: --- → mozilla1.0
Is this related to the fact that dragging links from the content area to an xterm causes it to drop/paste the _text_ of the link, rather than the URL? It used to work quite well, and 4.x behaved that way, but my 0.7 install does the wrong (text-not-URL) thing.
You're talking about gnome-terminal, right? xterm doesn't support drag and drop. I suspect ( but have no evidence to support ) that this is because when you are dragging a link it's supplying text/plain and _NETSCAPE_URL and the terminal takes the text/plain first. Or, _NETSCAPE_URL just looks funny and the terminal is dropping the URL part. I can't remember since it's been a while since I've looked at this code.
shaver, when you drag the link, it gets selected (*before* the drag starts), right? That's what I see and it's a regression from Mozilla0.6, which only selected the link(-text) *after* the drag (but that was still unforotunate - I remember a bug report complaining about it, but I can't find it anymore). It's unerlated to this bug, I think. Can you file a bug and cc me?
*** Bug 82766 has been marked as a duplicate of this bug. ***
*** Bug 97454 has been marked as a duplicate of this bug. ***
Just submitted bug 107651 which has a patch to support drops of type text/uri-list on mozilla, splitting them into multi item text/x-moz-url drops. This still leaves multi item drags from mozilla to be done (they should be offered as text/uri-list).
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051203 Firefox/1.6a1 This is fixed now.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.