Open Bug 1689471 Opened 4 years ago Updated 3 years ago

Dragging image to desktop does not work

Categories

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

Firefox 87
Desktop
macOS
defect

Tracking

()

Tracking Status
firefox-esr78 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- wontfix
firefox87 --- wontfix
firefox88 --- wontfix

People

(Reporter: sam, Assigned: haik)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:87.0) Gecko/20100101 Firefox/87.0

Steps to reproduce:

  1. Go to https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fpics.onsizzle.com%2FFacebook-%25CE%25A4%25CF%2581%25CE%25BF%25CF%258D-%25CF%2586%25CE%25AC%25CE%25BA%25CE%25B9%25CE%25BD%25CE%25B3%25CE%25BA-%25CF%2583%25CF%2584%25CF%258C%25CF%2581%25CF%2585-7cb68d.png&f=1&nofb=1
  2. Drag image to desktop.
  3. Note that there is a brief lag and no file is saved to the desktop.

Actual results:

There is a brief lag and no file is saved to the desktop.

Expected results:

The file should save to the desktop, just like if I were to right-click and save it (which does work).

Attached file about:support

I do not know if this is a valid issue or if it could be considered an enhancement, but I can definitely say that it is not a recent regression.
It occurs on Release v81. Could not verify older versions because they do not render the content area on Mac OS 11.

This feature exists and works correctly on the Chrome browser on Mac OS 11.
Also, this feature exists and works correctly on Firefox browser on Windows.

If the component is incorrect, please set a more appropriate one. Thank you.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Component: Untriaged → File Handling
Ever confirmed: true
OS: Unspecified → macOS
Hardware: Unspecified → Desktop

I cannot reproduce the problem on Windows, the image is dropped properly, with an empty name (it's named just ".png").
I can reproduce the bug on Linux.

I can reproduce on macOS 10, and ran mozregression some more, and got this window:

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=445255800255bb13ed096b5b7da36aa835e41dd8&tochange=00bdc9451be6557ccce1492b9b966d4435615380

It's still not very small, but bug 1437281 stands out, and given the weird filename when the drag succeeds on old builds (-1.png) seems plausible. Haik, can you take a look?

Component: File Handling → DOM: Drag & Drop
Flags: needinfo?(haftandilian)
Keywords: regression
Product: Firefox → Core
Regressed by: 1437281
Has Regression Range: --- → yes
Assignee: nobody → haftandilian

This slipped through the cracks. I'll work on root-causing this and aim to fix it in 97.

Flags: needinfo?(haftandilian)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: