Bug 209473

Summary: [GTK][WebInspector] platformSave broken when running within the Flatpak runtime
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: WebKitGTKAssignee: Philippe Normand <pnormand>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bugs-noreply, pgriffis
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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].