Bug 245545 - graphics/evince: Missing print dialogs in 3.28.5_13
Summary: graphics/evince: Missing print dialogs in 3.28.5_13
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-11 22:05 UTC by Conrad Meyer
Modified: 2020-04-12 05:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Meyer freebsd_committer 2020-04-11 22:05:21 UTC
The evince print dialogue no longer works in 3.28.5_13.  Previously I had 3.28.5_8, but I cannot explain why the former worked and the latter does not.  I updated the rest of ports at the same time, so it is possibly some other dependency that is the root cause (gtk3 seems most likely).

Regardless, attempting to print a PDF produces no user visible response.  On a console, the following message is printed:

  (evince:90654): Gtk-WARNING **: 15:01:28.786: GtkPrintOperation::create-custom-widget not supported with portal

It seems that GTK has invented some sandboxing mechanism called "portals," and evince now runs in this mode (or something like that).  The mechanism is supposed to have a print service listening on DBUS, provided by the xdg-desktop-portal-gtk software.  Unfortunately, we do not seem to have xdg-desktop-portal-gtk in FreeBSD ports at this time, and evince (gtk?) is missing a dependency on that service.
Comment 1 Conrad Meyer freebsd_committer 2020-04-11 22:06:22 UTC
https://github.com/flatpak/xdg-desktop-portal-gtk