Bug 1392241

Summary: experimental mode gtk print dialog crashes during printing when printing to a cups network printer:
Product: [Fedora] Fedora Reporter: Joe Byers <ecjbosu>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: caolanm, dtardon, ecjbosu, erack, mstahl, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libreoffice-5.1.6.2-5.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-28 07:25:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Byers 2016-11-06 17:10:10 UTC
Description of problem:
Crashes during printing when printing to a cups network printer.  This is due to the gtk3 incompatibilities or not ready for prime time.  The following can be done in

Version-Release number of selected component (if applicable):
Version: 5.1.6.2.0+
Build ID: 5.1.6.2-1.fc24
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 

How reproducible:
Everytime I upgrade libreoffice

Steps to Reproduce:
1. install ibreoffice-gtk3 on any KDE or Cinnamon desktop
2.
3.

Actual results:
libreoffice crashes

Expected results:
Get a print dialog with the network printer that can be selected and print a document.

Additional info:

The following can be done in a terminal to get force gtk2
export SAL_USE_VCLPLUGIN=gtk
soffice 
... then print a document

or 
remove forcibly libreoffice-gtk3 ignoring dependencies.
rpm -e libreoffice-gtk3 --nodeps 
now it works!

------
This started for me in Fedora 23 and removing the libreoffice-gtk3 worked because core did not depend on this package.  And in 24 it seems to work even though core depends on the package.

Comment 1 Caolan McNamara 2016-11-07 17:20:05 UTC
I wonder if you managed to enable "experimental features" at some point ? What is the setting for "tools->options->advanced->enable experimental features" ?

Comment 2 Joe Byers 2016-11-21 23:16:52 UTC
Yes I enabled the experimental features.  This setting is covered in other user groups fairly well.  When I ran libreoffice with the gtk3 package installed from the command prompt and tried printing, I get a GTK printing error

Terminal output is

(soffice:31719): GLib-GObject-CRITICAL **: g_object_new_valist: invalid unclassed object pointer for value type 'GtkPrinter'

(soffice:31719): Gtk-CRITICAL **: gtk_printer_get_backend: assertion 'GTK_IS_PRINTER (printer)' failed

(soffice:31719): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

Thank you for the quick response.


joe

Comment 3 Fedora Update System 2016-11-23 11:19:19 UTC
libreoffice-5.1.6.2-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a3cdfc1491

Comment 4 Fedora Update System 2016-11-25 09:38:55 UTC
libreoffice-5.1.6.2-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a3cdfc1491

Comment 5 Fedora Update System 2016-11-28 07:25:20 UTC
libreoffice-5.1.6.2-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Joe Byers 2016-12-14 12:06:52 UTC
I apologize for not seeing the earlier.  I tested the new version of libreoffice gtk3.  It  performed wonderfully.

Great Job!

:))