Comment 23 for bug 2020655

Revision history for this message
In , From-bugzilla3 (from-bugzilla3) wrote :

(In reply to Devin Bayer from comment #20)
> I think this isn't the main issue though – I shouldn't have to add my download directory to my filesystem permission override. If I use the file selection box in Preferences to select my download directory, I get a portal path. And that path works for downloads. It's only the 2nd and following download that fail, because FF tries to use the document specific path that it saved in `browser.download.lastDir`.

Ahh. Now I understand. You're describing the open bug, [flatpak/xdg-desktop-portal#477: Open file chooser in folder containing specific file](https://github.com/flatpak/xdg-desktop-portal/issues/477).

(Which is a terribly vague-sounding title but is basically requesting that Documents Portal paths be guaranteed to remain unique to a specific permissions grant if you strip off a single path component to get the parent/containing directory, and that the File Chooser portal be guaranteed to reverse the transformation and display the actual un-sandboxed path if given one of them as the starting location.)