[XDG portal] Save image does not remember last used folder, uses different folders
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: jerry, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: helpwanted)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Steps to reproduce:
Firefox 104 snap version on Ubuntu 22.04.1 with XFCE.
User agent string: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Right-click on an image and select Save Image As..., or have a tab that shows an image only and press Ctrl-S.
Actual results:
The Save As dialog is shown, opened in /run/user/1000/doc/90cada64/. Saving a next image might use that folder but it might also use another folder under /run/user/1000/doc/. I have not been able to see when it uses another folder.
When I change the folder and save the image and then try and save another image, it goes back to /run/user/1000/doc/ and then some folder beneath that. Sometimes the same as the last one, sometimes a new one or an existing one.
Expected results:
The Save As dialog should show the folder I saved the previous image in. Preferably even from a previous session.
Comment 1•2 years ago
|
||
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.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Not sure this is actionable. File dialog code liver here:
https://searchfox.org/mozilla-central/source/widget/gtk/nsFilePicker.cpp
so any help/patch is welcome.
Comment 3•1 year ago
|
||
Marking confirmed
since I got an independent report of this from another user (in their case regarding the open-file picker).
See also:
https://github.com/flatpak/xdg-desktop-portal/issues/973
which was spun off of this closed issue:
https://github.com/flatpak/xdg-desktop-portal/issues/886
(Those are in flatpak rather than snap, but I think there's some commonalities & possibly a shared root cause.)
Updated•1 year ago
|
Updated•1 year ago
|
Description
•