Closed Bug 1786251 Opened 2 years ago Closed 7 months ago

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

Categories

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

Firefox 106
defect

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: hanno.zulla, Assigned: jhorak)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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
Assignee: nobody → jhorak
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/bdabd37473ed
Add support for drop file portal; r=stransky
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Regressions: 1880698
Regressions: 1881226
Regressions: 1885400
Regressed by: 1888202
No longer regressed by: 1888202
Regressions: 1888202
Regressions: 1897574
No longer regressions: 1897574
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: