[flatpak] Save Page As... works unreliably
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: jhorak, Assigned: jhorak)
References
(Blocks 1 open bug)
Details
The Save page as...
does not work correctly in flatpak, the files are not saved.
Assignee | ||
Comment 1•3 years ago
|
||
The problem is with the flatpak restrictions:
- portal allows access only to the selected file in the filepicker and not the whole folder.
- since Firefox allows saving whole page where the data files are stored to the
_files
subdir, the dowload will fail whenWeb page, complete
is selected from filetypes due to unable to write the data.
Currently I don't see a way to reliably save the whole page under flatpak environment. If we could get the list of files to be downloaded before showing filechooser dialog at least we could pass the list of the files to the portal by using SaveFiles [1], but it rather shows the folder select dialog - the filename is fixed and also disallow users to set if they want to save whole page, or just html or text file. I'm going to fill a bugreport on the portal implementation if they can have any hints for us.
Comment 2•3 years ago
|
||
There's an open issue with discussion on the idea of extending things to allow an "...and adjacent files" permission.
Assignee | ||
Comment 3•3 years ago
|
||
There seems to be already opened issue regarding this: https://github.com/flatpak/xdg-desktop-portal/issues/463
Updated•2 years ago
|
Description
•