Opening print dialog leaves evince running in background after I close it (flatpak)
Issue initially reported here: https://github.com/flathub/org.gnome.Evince/issues/31
I'm using Ubuntu 19.10. When I open a pdf with evince, after I open the print dialog I get this error:
(evince:2): Gtk-WARNING **: 15:58:59.949: GtkPrintOperation::create-custom-widget not supported with portal
Then after I close evince the app is still running on the background which leads to error if I try to open again the same file with evince.
Failed to Reload: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: org.freedesktop.DBus.Error.NameHasNoOwner
Tried both with only
xdg-desktop-portal-kde running in KDE session and only
xdg-desktop-portal-gtk running in xfce session.
It would be nice if evince could exit cleanly, even if the errors aren't completely fixed. Because right now you need to manually kill evince processes each time in order to be able to open the same file again, if you have clicked on "print" before (just click, even without actually trying to print something).