Created attachment 120508 [details] Black Menu I have downloaded and installed LibreOffice 5.0.3.2 and all seems to be working OK except that the Menu system on every screen is mainly black which means it is nearly unusable. It seems that the fault is a theme color one as all the text appears to be there but is unreadable. I have tried to change the theme (and colors) without success. All other programs working OK OS Linux Mint 17.2 Cinnamon 64-bit Cinnamon version 2.16.13 linux kernal 4.2.0-18-generic Processor AMD FX(tm)-8350 Memory 15.4Gig Graphics Card Nvidia GM107 [Geforce GTX750 Ti] I have installed the windows version of LibreOffice 5.0.3.2 on the same machine with no problems. I am new to Linux so any help will be appreciated. Screen shots attached.
What happens, if you disable Tools - Options - LibO - View - Use OpenGL for all rendering? Btw. your screenshot does not have a menu, but a dialog. Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the information.
*** Bug 95912 has been marked as a duplicate of this bug. ***
I can confirm this issue, it's quite annoying because it's very hard to navigate the dialogs to unselect the OpenGL options. The bug occurs on my system when _either_ of the following options are activated: 'Tools->Options->LibreOffice->View->Use OpenGL for all rendering' 'Tools->Options->LibreOffice->View->Force OpenGL even if blacklisted'. It's quite hard to undo these because you can't see any of of the options. At first I tried all kinds of combinations of GTK variables to force a new GTK_THEME to be used, as for example : - GTKRCFILE=Clearlooks GTK_MODULES= SAL_USE_VCLPLUGIN=gtk3 GTK_THEME=Adwaita:light libreoffice - SAL_USE_VCLPLUGIN=gtk GTK2_RC_FILES=/usr/share/themes/ZenX-blua/gtk-2.0/gtkrc libreoffice - GTKRCFILE=Numix GTK_MODULES= SAL_USE_VCLPLUGIN=gtk3 GTK_THEME=Numix libreoffice Other GTK apps change their theme but no combinations worked for libreoffice (not really sure how I'm supposed to use them, but SAL_USE_VCLPLUGIN=gtk GTK2_RC_FILES= used to work fine for me before). Anyway, a trick to deselect the options is to navigate using the keyboard : - navigate to the Tools->Options->View pane as normally (this part should be visible) - press alt+o once (this will select the OpenGL option) - press space (this will toggle the option, deactivating it if it was selected) - press alt+o again (this will select the OK button) - press space (the dialog should close, if not you're not on the OK button, your likely on the OpenGL option) - restart libreoffice. If that doesn't work, maybe the Force OpenGL option was also selected, so we need to unselect it. Try the following (slightly different from above) : - navigate to the Tools->Options->View pane - press alt+f once (this will TOGGLE AND SELECT the Force OpenGL option) - press alt+o again (this will select the OK button) - press space (dialog should close, if not you're not on the OK button) - restart libreoffice. Hopefully that deactivates both options. I'm running: Linux Arch LibreOffice Version: 5.0.3.2 (from extra/libreoffice-fresh) Linux Kernel 4.2.5-1-ARCH 64-bit NVIDIA GK208GLM [Quadro K610M] (rev a1) Nvidia drivers 358.16 Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz XFCE Best regards
(In reply to Walter Rudametkin from comment #3) > Anyway, a trick to deselect the options is to navigate using the keyboard : Or simply exit LibreOffice and edit the "registrymodifications.xcu" file, the OpenGL settings are there. Set them "False". <item oor:path="/org.openoffice.Office.Common/VCL"><prop oor:name="ForceOpenGL" oor:op="fuse"><value>false</value></prop></item> <item oor:path="/org.openoffice.Office.Common/VCL"><prop oor:name="UseOpenGL" oor:op="fuse"><value>true</value></prop></item>
> Or simply exit LibreOffice and edit the "registrymodifications.xcu" file Thanks, that's much better than my clumsy workaround! What a waste of 2 hours of my life :) I still have two questions: 1) Does anybody know what is causing the bug? Is it theme related? Graphics card driver? 2) Do the environment variables GTKRCFILE, SAL_USE_VCLPLUGIN, GTK_THEME no longer work in libreoffice 5? Here's the output of in case it's of use : $ glxinfo | grep OpenGL OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Quadro K610M/PCIe/SSE2 OpenGL core profile version string: 4.4.0 NVIDIA 358.16 OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.5.0 NVIDIA 358.16 OpenGL shading language version string: 4.50 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 358.16 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions: Best,
(In reply to Walter Rudametkin from comment #5) > 2) Do the environment variables GTKRCFILE, SAL_USE_VCLPLUGIN, GTK_THEME no > longer work in libreoffice 5? They do work for me with LO 5.0.3.2 under Fedora 23.
Can you please check with recent versions (v5.1.5, v5.2.1)? There have been continuous improvements to the OpenGL stack since then.
Hi, I'm using the same computer as previously, here are my results. I created a new config directory (old one was extremely slow). Themes: all of the theming commands seem to work, including SAL_USE_VCLPLUGIN=gtk3, SAL_USE_VCLPLUGIN=gtk, GTK_THEME, GTK2_RC_FILES (I tested multiple themes). When using SAL_USE_VCLPLUGIN=gtk3 Libreoffice starts fine. Works with and without hardware acceleration, which is the only option available in the GUI to select. Not sure why there's no other OpenGL options. When using SAL_USE_VCLPLUGIN=gtk Libreoffice starts fine with and without hardware acceleration, however, as soon as I select Use OpenGL or Force OpenGL it no longer starts (shows an empty splash screen). It reverts back to "OpenGL disabled" on next attempt. Also, I get a lot of blinking menus and redrawing. Speed is a also a bit slower. So, to sum up : - No more black dialogs. - Works fine with gtk3 (although no more OpenGL options are available). - Works with gtk as long as OpenGL is disabled, causes lots of flashing when redrawing windows/menus. Best regards
Forgot to mention the version: Version: 5.1.5.2 Build ID: 5.1.5.2 Arch Linux build-3 CPU Threads: 8; OS Version: Linux 4.7; UI Render: default; Locale: en-US (en_US.utf8); Calc: group
Thanks. I think we can close this.