Closed Bug 1882079 Opened 7 months ago Closed 3 months ago

[Flatpak] Choosing download directory over FileChooser portal doesn't display real path

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: jgrulich, Assigned: jgrulich)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Choosing a download directory in the Preference dialog over FileChooser portal (when FF run as a Flatpak) will show the path as exported by the document portal, which might be confusing for users as it might appear that it's not the path they picked.

This path should be displayed as selected in the file dialog. There is now a new API proposed to document portal, where clients can ask for the real path and have this path displayed instead.

xdg-desktop-portal PR for reference: https://github.com/flatpak/xdg-desktop-portal/pull/1269

Assignee: nobody → jgrulich
Status: NEW → ASSIGNED

Use the new API addition to Document portal allowing clients to get real
path to the exported document. This allows to still use the same path as
provided by the document portal, but display the path as exists on the
host side.

Attachment #9382610 - Attachment description: [WIP] Bug 1882079 - Display real path when choosing download directory over portal r=stransky,jhorak → Bug 1882079 - Display real path when choosing download directory over portal r=stransky,jhorak
Blocks: flatpak
See Also: → 1775497
See Also: → 1788724
Pushed by jgrulich@redhat.com: https://hg.mozilla.org/integration/autoland/rev/032d22e94bd3 Display real path when choosing download directory over portal r=settings-reviewers,Gijs,emilio

Backed out for causing bustages on nsLocalFileUnix.cpp

Backout link

Push with failures

Failure log

Flags: needinfo?(jgrulich)
Pushed by jgrulich@redhat.com: https://hg.mozilla.org/integration/autoland/rev/b4c8b40d027f Display real path when choosing download directory over portal r=settings-reviewers,Gijs,emilio
Flags: needinfo?(jgrulich)
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
QA Whiteboard: [qa-129b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: