Bug#839701: libreoffice-gnome: internal crash from native print dialog (Gnome/GTK)
retitle libreoffice-gnome: (experimental) native print dialog crashes
tag 839701 + moreinfo
thanks
Hi,
On Tue, Oct 04, 2016 at 12:32:49PM +0800, Drew Parsons wrote:
> Package: libreoffice-gnome
> Version: 1:5.2.2~rc2-2
> Severity: normal
>
> Because of bug#795929 (upstream #53029), libreoffice can't print to
> password-protected printers.
Mmh, yeah.
Though I consider this configuration questionable per se; on
a company I worked before it afaicr just worked because the PPD (and printer)
supported it so that you can just print and give you pw _on the printer_...
> The suggested workaround is to "Enable experimental features"
> (Tools-Options-LibreOffice-Advanced) and deactivate LibreOffice
> Print Dialog Boxes (-LibreOffice-General), so that the native print
> dialog is used.
>
> But this workaround fails, at least on Gnome 3.22. The Gnome/GTK
> print dialog box is used, but when I click on "Print", it crashes
> LibreOffice. LibreOffice immediately recovers via "Document Recovery"
> but never completes the print job.
>
> Error messages are sent to stderr when the crash happens, indicating a
> problem with pointers:
>
> (soffice:14402): GLib-GObject-CRITICAL **: g_object_new_valist: invalid unclassed object pointer for value type 'GtkPrinter'
>
> (soffice:14402): Gtk-CRITICAL **: gtk_printer_get_backend: assertion 'GTK_IS_PRINTER (printer)' failed
>
> (soffice:14402): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
>
> The problem seems to happen with any document.
>
> It sounds like this is an upstream bug (and I note that using native
Is there one filed?
> print dialogs is considered an "experimental feature"). But since the
> bug is tied up with the Gnome or GTK libraries, I think it's worth
> checking if others can reproduce the problem before we report it
> upstream.
Either it is a bug, then it should be reported (ideally not here; but in any
case then it should be forwarded, as upstream will eventually fix it, not me)
or it isn't, then it's wrong to report it here, too ;)
> A workaround for the workaround is to print to PDF. evince is able to
> print the pdf file with no problem. I'll leave a note on upstream
> #53029.
I think more that this "Gtk dialog crashes" should be a in a new bug...
> Versions of packages libreoffice-gnome recommends:
> ii libreoffice-gtk3 1:5.2.2~rc2-2
What happens if you used -gtk2? (And remove -gtk3, maybe, given it will
take precendence anyway)? Could very well be that it's Gtk3-only.
(Note that -gnome only contains GIO support nowadays and the UI stuff is
in -gtk2/-gtk3)
Regards,
Rene
Reply to: