Open Bug 1828017 Opened 2 years ago Updated 1 years ago

[Flatpak] Images are saved incorrectly when trying to save to non-Downloads directory

Categories

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

Firefox 112
defect

Tracking

()

UNCONFIRMED

People

(Reporter: evanmohr22, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached video 2023-04-13 18-27-55.mkv (deleted) —

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

Steps to reproduce:

  1. Go to https://pixabay.com/images/search/cat/
  2. Right click image and select "Save Image As..."
  3. Save image to ~/Pictures/Firefox-Test
  4. Open file manager and see that the image was saved to ~/Pictures/Firefox-Test
  5. Go back to website
  6. Right click new image and select "Save Image As..."
  7. Notice that the Filechooser is no longer in ~/Downloads or ~/Pictures/Firefox-Test, but rather a directory in /run/user/1000/doc/xxxxxxxx
  8. Save image to this location
  9. Notice that the image does not appear in ~/Downloads or ~/Pictures/Firefox-Test, it is essentially lost

Actual results:

I want to save multiple images to a directory that is not in ~/Downloads, such as ~/Pictures/Firefox-Test. After navigating to the new folder and saving, it saves correctly. But when trying to save a second image, the Filechooser opens up to a random directory in /run/user/1000/doc.

Expected results:

The Filechooser should have reopend with ~/Pictures/Firefox-Test or ~/Downloads.

As far as I recall, this issue does not occur with the Firefox deb, tar.gz, or snap.

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
Blocks: flatpak
Priority: -- → P3
Summary: In the Firefox flatpak, images are saved incorrectly when trying to save to non-Downloads directory → [Flatpak] Images are saved incorrectly when trying to save to non-Downloads directory

Fixed by https://github.com/flatpak/xdg-desktop-portal/commit/d3a92486cb7ab4ebddb7d0d42111a1f38e4bc51e
Currently I have no idea when next version will be released.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: