Bug 126880 - LO 6.2.x Missing Menu Bar and Extremely Sluggish Input with GTK+3
Summary: LO 6.2.x Missing Menu Bar and Extremely Sluggish Input with GTK+3
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2019-08-13 14:04 UTC by LAP
Modified: 2019-09-26 10:10 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 LAP 2019-08-13 14:04:03 UTC
Updating LibreOffice from 6.1.6.3 to 6.2.5.2 results in a missing menu bar as well as extremely sluggish keyboard input.  The following error messages appear:

** (soffice:15577): CRITICAL **: 18:59:34.243: void g_lo_menu_insert_section(GLOMenu*, gint, const gchar*, GMenuModel*): assertion 'G_IS_LO_MENU (menu)' failed

(soffice:15577): Gtk-CRITICAL **: 18:59:34.244: gtk_menu_bar_new_from_model: assertion 'G_IS_MENU_MODEL (model)' failed

(soffice:15577): Gtk-CRITICAL **: 18:59:34.244: gtk_widget_insert_action_group: assertion 'GTK_IS_WIDGET (widget)' failed

(soffice:15577): Gtk-CRITICAL **: 18:59:34.244: gtk_widget_set_hexpand: assertion 'GTK_IS_WIDGET (widget)' failed

(soffice:15577): Gtk-CRITICAL **: 18:59:34.244: gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

The menu bar and normal keyboard input can be restored by setting the variable:

SAL_USE_VCLPLUGIN=gtk
export SAL_USE_VCLPLUGIN

Apparently, the default use of GTK+3 is causing serious problems.
Comment 1 Aron Budea 2019-08-25 06:19:47 UTC
Can you share your OS and gtk version?
Comment 2 LAP 2019-08-25 13:53:50 UTC
(In reply to Aron Budea from comment #1)
> Can you share your OS and gtk version?

OS is Gentoo and the GTK+ version is 3.24.10.

Gentoo has their own build for LibreOffice (LO) but I have been using the LO distributed binary because it is easier for me to install and update.  The LO binary has always worked well in the past but when I recently updated from 6.1.6.3 to 6.2.5.2 these problems occurred.

But as long as I set SAL_USE_VCLPLUGIN=gtk or SAL_USE_VCLPLUGIN=gen I can use 6.2.5.2 with no problems.
Comment 3 LAP 2019-09-07 16:31:20 UTC
After searching for similar reports of missing menu bars I noticed that a lot of such reports were fixed by changing the GTK3 theme.

In my gtk-3.0/settings.ini file the theme was set to "Raleigh."  I changed the theme to "Adwaita" and both the missing menu problem and the sluggish input problem disappeared.

So the issue seems resolved.

But the solution brings up another question.  Is the original problem, that is the failure of input and menus with a particular theme, the fault of LibreOffice or with GTK3?

Using a particular GUI theme should not cause problems with menu bars or with keyboard input.

Anyway, I am glad that the original problem was so easily fixed.
Comment 4 Xisco Faulí 2019-09-26 10:10:57 UTC
I believe it's a problem in the theme, not in LibreOffice