[geary/mjog/flatpak-webkitgtk-print-workaround] org.gnome.Geary.yaml: Workaround for WebKitGTK not printing under Flatpak




commit 29f6ae63b0bfbc987e964db09bfbf17436a57b01
Author: Michael Gratton <mike vee net>
Date:   Sun Jan 17 20:17:10 2021 +1100

    org.gnome.Geary.yaml: Workaround for WebKitGTK not printing under Flatpak
    
    Since WebKitGTK does not currently support printing under Flatpak,
    enable RW access to XDG downloads folder, so at least people can print
    to a PDF, then print that.
    
    See https://github.com/flathub/org.gnome.Geary/issues/42

 org.gnome.Geary.json | 1 +
 org.gnome.Geary.yaml | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/org.gnome.Geary.json b/org.gnome.Geary.json
index c840f5acb..87ffaaf1b 100644
--- a/org.gnome.Geary.json
+++ b/org.gnome.Geary.json
@@ -27,6 +27,7 @@
         "--metadata=X-DConf=migrate-path=/org/gnome/Geary/",
         "--filesystem=~/.config/geary:ro",
         "--filesystem=~/.var/app/org.gnome.Geary/config/geary:ro",
+        "--filesystem=xdg-download:rw",
         "--filesystem=/tmp"
     ],
     "cleanup": [
diff --git a/org.gnome.Geary.yaml b/org.gnome.Geary.yaml
index 6c5b9d150..6c48b0b25 100644
--- a/org.gnome.Geary.yaml
+++ b/org.gnome.Geary.yaml
@@ -61,7 +61,10 @@ finish-args:
   - "--filesystem=~/.config/geary:ro"
   - "--filesystem=~/.var/app/org.gnome.Geary/config/geary:ro"
 
-  # Let view source keep on working as-sis for now. Bug 779311. */
+  # Workaround for printing to PDF until WebKitGTK supports printing
+  - "--filesystem=xdg-download:rw"
+
+  # Let view source keep on working as-sis for now. Bug 779311.
   - "--filesystem=/tmp"
 
 cleanup:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]