Open Bug 1786251 Opened 2 years ago Updated 2 years ago

Cannot drag & drop image file from /tmp/ to flatpak Firefox

Categories

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

Firefox 106
defect

Tracking

()

UNCONFIRMED

People

(Reporter: hanno.zulla, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

Using Firefox flatpak 103.0.2 with Ubuntu 20.04 on Wayland.

  • Wanted to comment on a Github issue
  • Wanted to add a screenshot to describe the issue
  • Took PNG screenshot and saved it to local /tmp/ directory
  • Github only offers drag & drop to their Markdown comment form textarea and no "upload" file chooser
  • Dragged the file from Nautilus to the Github textarea field and dropped it there.

Actual results:

  • Nothing.
  • Firefox just ignored the dropped file.
  • Workaround was to copy the image file to the ~/Downloads/ folder, from which drag & drop works as expected.

Expected results:

  • Firefox should accept a dragged and dropped image file if the user chooses to drag a file from a different location than ~/Downloads/

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
Version: Firefox 103 → Firefox 106

If the user drags & drops a file to Firefox, that should be considered the user's stated desire that the file's location should be made accessible to the flatpak security portal's permissions.

Blocks: flatpak
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.