https://bugs.documentfoundation.org/show_bug.cgi?id=102999
Bug ID: 102999
Summary: native GTK3 (Gnome) print dialog crashes
Product: LibreOffice
Version: 5.2.2.2 rc
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Printing and PDF export
Assignee: [email protected]
Reporter: [email protected]
Because of bug#53029 we can't print directly to password-protected printers. A
suggested workaround is to deactivate LibreOffice print dialogs (one of the
Advanced experimental features) and use native print dialogs instead.
But this workaround fails on a Gnome 3 system, which uses gtk3 print dialogs
(e.g. installed via Debian package libreoffice-gtk3). Instead the print dialog
crashes, causing LibreOffice to restart and invoke "Document Recovery",
but it never completes the print job.
Error messages are printed at the time of the crash:
GLib-GObject-CRITICAL **: g_object_new_valist: invalid unclassed object pointer
for value type 'GtkPrinter'
Gtk-CRITICAL **: gtk_printer_get_backend: assertion 'GTK_IS_PRINTER (printer)'
failed
GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
The bug is in the gtk3 handler only. If I install libreoffice-gtk2 instead of
libreoffice-gtk3 then a dialog box pops up requesting the password for the
printer, and the print job is successful.
As a workaround (using gtk3), I can instead print to pdf. The pdf viewer
(evince) can then print the pdf document via a gtk3 print dialog. i.e. gtk3
printing is in general working.
Versions:
libreoffice 1:5.2.2~rc2-2
libgtk-3-0 3.22.1-1
Reported also in Debian bug#839701.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs