Closed Bug 1578055 Opened 5 years ago Closed 3 years ago

[XdndDirectSave] nsDragService still uses "host" from nsSystemInfo

Categories

(Core :: Widget: Gtk, defect, P5)

defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox70 --- affected

People

(Reporter: jbeich, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

host property was removed in bug 1361601 on 2017-05-03 but nsDragService started to use it after bug 396370 (from v1) on 2018-10-04. Maybe drop or convert to PR_SI_HOSTNAME.

https://searchfox.org/mozilla-central/rev/e8f334670ddf/widget/gtk/nsDragService.cpp#1462

This affects XdndDirectSave which is no longer used (at least I can't find any application which uses it).
Let's close it and reopen if we hit any real-life scenario.

Status: NEW → RESOLVED
Closed: 3 years ago
Priority: -- → P5
Resolution: --- → WONTFIX
Summary: nsDragService still uses "host" from nsSystemInfo → [XdndDirectSave] nsDragService still uses "host" from nsSystemInfo

This affects XdndDirectSave which is no longer used (at least I can't find any application which uses it).

Have you tested Nemo? Drag and drop of images still works for me with version 5.0.5.

Yes, I tested Nemo, seems to use text/x-moz-url.

I just tested disabling the XdndDirectSave0 code in nsDragService and afterwards dragging an image to the Desktop produces a link instead of an image file. So it's working.

See also:
https://github.com/linuxmint/nemo/blob/7fe83632eca5801a55992dc08c52767b6d8685cb/libnemo-private/nemo-tree-view-drag-dest.c#L90

Okay, Thanks.

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.