Bug 209473 - [GTK][WebInspector] platformSave broken when running within the Flatpak runtime
Summary: [GTK][WebInspector] platformSave broken when running within the Flatpak runtime
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-24 04:49 PDT by Philippe Normand
Modified: 2020-04-27 23:59 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.58 KB, patch)
2020-04-27 06:33 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2020-03-24 04:49:33 PDT
Same issue for the remote web-inspector. A gtk_file_chooser prompts the user for a location where to save the data but the file returned doesn't exist (example: /run/user/1000/doc/7764bda4/Result%20Levels%20Result.json where there is no /run/user/1000/doc folder in the first place). Something is fundamentally broken, I suppose in some GTK portal thing?
Comment 1 Philippe Normand 2020-03-24 04:54:04 PDT
This issue doesn't happen in the Ephy Devel flatpak though:

- open webinspector
- add "audit" tab
- run an audit
- press "export"

File chooser correctly writes the data at the selected destination.
Comment 2 Philippe Normand 2020-03-25 03:30:24 PDT
Patrick, any hints about this one?
Comment 3 Philippe Normand 2020-04-27 06:33:35 PDT
Created attachment 397676 [details]
Patch
Comment 4 EWS 2020-04-27 23:59:05 PDT
Committed r260811: <https://trac.webkit.org/changeset/260811>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 397676 [details].