Open Bug 1799380 Opened 3 years ago Updated 7 months ago

[Snap] Drag and drop into Firefox doesn't work if the file is not directly accessible to Firefox

Categories

(Firefox Build System :: Third Party Packaging, defect, P3)

Firefox 106
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: grzegorz, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

I'm using Kubuntu 22.10 (latest version, fully updated) and Firefox 106 distributed via snap.

  1. I take a screenshot using Spectacle
  2. I drag the image from Spectacle into Firefox (to upload it to a website, such as Slack, Google Drive, Facebook etc.)
  3. The image is not uploaded. Nothing happens.

Actual results:

The image seems to be dragged: I see it's outline, the cursor has a (+) sign when hovering over Firefox with an upload drop zone. But when I release the mouse button, nothing happens.

Expected results:

The image should be uploaded to a website.

Spectacle hold images in the /tmp/ directory, maybe that's causing the issue?

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Flags: needinfo?(grzegorz)
Priority: -- → P3

The issue does not occupying with non-snap version of Firefox. Do you still need a screencast?

Flags: needinfo?(grzegorz)

(In reply to grzegorz from comment #3)

The issue does not occupying with non-snap version of Firefox. Do you still need a screencast?
No, Thanks.

Blocks: snap

Sounds very much like bug 1786533

Component: Widget: Gtk → Third Party Packaging
Product: Core → Firefox Build System

The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P3 → --
Attached image Screenshot

I tried on Ubuntu 22.04, on Firefox 106RC and Firefox 107RC-build2, and I get the same result. This result is also encountered on Chrome.
When dragging a screenshot from Spectacle, an error page is displayed, notifying that the file is not accessible.
Note that if I drag&drop the file from the saved folder in Firefox, the screenshot is correctly displayed.
Am I missing some steps? Please let me know If I can help any further with the investigation.

The severity field is not set for this bug.
:gerard-majax, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(lissyx+mozillians)
Assignee: nobody → bandali
Severity: -- → S3
Flags: needinfo?(lissyx+mozillians)
Priority: -- → P3
Duplicate of this bug: 1636774
Duplicate of this bug: 1786533

I encounter the same issue when trying to drag&drop files from an ntfs drive mounted with fuseblk.

Kubuntu 22.04.2 LTS:
firefox 112.0.1-1
snap 2.58.3
snapd 2.58.3
series 16
ubuntu 22.04
kernel 5.15.0-70-generic

Assignee: bandali → nobody
Summary: Drag and drop into Firefox doesn't work (snap version) → [Snap] Drag and drop into Firefox doesn't work if the file is not directly accessible to Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: