Bug 99428 - Libreoffice Calc clutters terminal with GTK failed assertions on changing the cell
Summary: Libreoffice Calc clutters terminal with GTK failed assertions on changing the...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 09:50 UTC by Jaakov
Modified: 2017-06-14 04:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaakov 2016-04-21 09:50:23 UTC
Package: libreoffice-calc
Version: 5.1.2.2-1.5

Reproduce: 
1) use gnome
2) start a uxterm
3) type 
   libreoffice &[Enter]
   in the uxterm console
4) create a fresh spreadsheet
5) each time you click a cell, the following is printed to your console:
[
** (soffice:5092): WARNING **: Unknown event notification 36

** (soffice:5092): WARNING **: Unknown event notification 34

(soffice:5092): Gtk-CRITICAL **: gtk_style_context_save: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(soffice:5092): Gtk-CRITICAL **: gtk_style_context_set_state: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(soffice:5092): Gtk-CRITICAL **: gtk_render_background: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(soffice:5092): Gtk-CRITICAL **: gtk_render_frame: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(soffice:5092): Gtk-CRITICAL **: gtk_style_context_restore: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
]

If between clicks you don't do anything in other applications, the line regarding notification 34 is dropped.

These messages might be harmful or benign. But I was doing some work in the uxterm console, so for me, this clutter was harmful in at least that respect.

See https://bugzilla.suse.com/show_bug.cgi?id=976498

If you replace step 3) by 
3a) SAL_USE_VCLPLUGIN=gtk libreoffice &
then the clutter is reduced:
Instead of the above above messages, you see just
[
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

(soffice:5384): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:5384): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
]

I'd be very happy to see a fix!
Comment 1 Buovjaga 2016-04-29 11:33:13 UTC
Which version of GTK3 do you have?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 Jaakov 2016-04-30 08:23:06 UTC
Here we go:
> sudo zypper info libgtk-3-0 | grep Version
Version: 3.20.3-1.2
Comment 3 Mark Carroll 2016-05-05 17:35:43 UTC
I too am seeing these messages with version 5.1.2.2 on moving from cell to cell. I am using twm, not GNOME.

(soffice:2545): Gtk-CRITICAL **: gtk_render_background: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(soffice:2545): Gtk-CRITICAL **: gtk_render_frame: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(soffice:2545): Gtk-CRITICAL **: gtk_style_context_restore: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
Comment 4 Buovjaga 2016-05-06 06:28:12 UTC
Let's set to NEW and see what happens.
Comment 5 QA Administrators 2017-05-22 13:40:49 UTC Comment hidden (obsolete)
Comment 6 Mark Carroll 2017-06-13 21:51:30 UTC
I am not now seeing this bug with LibreOffice 5.3.3.2.
Comment 7 Buovjaga 2017-06-14 04:18:34 UTC
Thanks, let's close.