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 (Nobody)
Depends on:
Reported: 2020-04-11 22:05 UTC by Conrad Meyer
Modified: 2020-09-27 17:45 UTC (History)
1 user (show)

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


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
Comment 2 Baptiste Daroussin freebsd_committer 2020-09-26 20:37:50 UTC
I upgraded evince to a recent version can you check if it fixes the issue for you ?
Comment 3 Conrad Meyer freebsd_committer 2020-09-27 17:45:22 UTC
I think it's less an evince thing than a missing xdg portal port?  But I can give it a try.


$ evince --version
GNOME Document Viewer 3.28.5
$ pkg info evince
Name           : evince
Version        : 3.28.5_18
Installed on   : Tue Sep 22 17:11:45 2020 PDT

Same problem:
(evince:79397): Gtk-WARNING **: 10:20:04.151: GtkPrintOperation::create-custom-widget not supported with portal

I do not see a newer pkg yet, although there's a newer one in ports.  Ok, let's try that (default config).


$ pkg info evince

Same thing:
(evince:82994): Gtk-WARNING **: 10:39:48.886: GtkPrintOperation::create-custom-widget not supported with portal

Again, I think the thing we're missing here is xdg-desktop-portal-gtk, not an evince update.