XDG Desktop Portal should show "nice" user path
Bug #2020655 reported by
Pirouette Cacahuète
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox snap |
Confirmed
|
Unknown
|
|||
xdg-desktop-portal |
New
|
Unknown
|
|||
xdg-desktop-portal (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Users hould not see "/run/xxx" but rather e.g., "/tmp/"
Changed in firefox-snap: | |
status: | Unknown → Confirmed |
Changed in xdg-desktop-portal: | |
status: | Unknown → New |
To post a comment you must log in.
```
(In reply to Alexandre LISSY :gerard-majax from comment #26)
<DOCID> is something we should not have to care about, it's the xdg ID. I dont know if you can re-use it like you do or if you should go again to your /mnt/itch/Down. It would be useful if you could try several downloads each time manually selecting the correct folder.
It works every time if I manually select the correct folder. That's what I do for every download.
Then mabye the real issue is that we keep in memory the XDG's document path instead of the folder you selected ?
Yes, that seems like the issue to me.
```
As much as I could understand so far of our interactions there, we delegate handling of the file picker to GTK, and we have no direct notion of the "original good" path that users might expect (e.g, `smb:// server/ share/Path` ) and what we get back from the file picker has been processed by the XDG portal and we only get the Portal's Document folder, i.e., `/run/user/ <UID>/doc/ <DOCID> /`. I dont know how much we can fix there.