Updating LibreOffice from 184.108.40.206 to 220.127.116.11 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:
Apparently, the default use of GTK+3 is causing serious problems.
Can you share your OS and gtk version?
(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 18.104.22.168 to 22.214.171.124 these problems occurred.
But as long as I set SAL_USE_VCLPLUGIN=gtk or SAL_USE_VCLPLUGIN=gen I can use 126.96.36.199 with no problems.
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.
I believe it's a problem in the theme, not in LibreOffice