Failed to open file chooser when trying to save with a SVG opened

Bug #2002021 reported by UbuntuOne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Undecided
Unassigned
pinta (Ubuntu)
New
Undecided
Unassigned

Bug Description

1. Open a SVG file in Pinta.
2. File -> Save As...

```
$ pinta

(pinta:32488): GdkPixbuf-CRITICAL **: 13:20:44.867: gdk_pixbuf_calculate_rowstride: assertion 'width > 0' failed

(pinta:32488): GdkPixbuf-CRITICAL **: 13:20:44.867: gdk_pixbuf_calculate_rowstride: assertion 'width > 0' failed

(pinta:32488): GLib-GIO-WARNING **: 13:20:49.650: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

(pinta:32488): GLib-GIO-WARNING **: 13:20:58.229: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

(pinta:32488): Gtk-WARNING **: 13:20:58.321: Can't open portal file chooser: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: current_filter, if specified, must be present in filters list if list is nonempty
```

Revision history for this message
Cameron White (cameronwhite91) wrote :

I can reproduce this only with snap / flatpak packages. The file chooser portal seems to error out if the file filter isn't set to a valid filter, which in this case happens because SVG files can be read but can't be written to

Changed in pinta:
milestone: none → 2.2
status: New → Confirmed
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
status: Confirmed → Fix Committed
Changed in pinta:
milestone: 2.2 → 2.1.1
Changed in pinta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.