Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44736 - [libreoffice-fresh] Unusable menus in libreoffice-4.4 on plasma-5.2

Attached to Project: Arch Linux
Opened by Chris (wryfi) - Sunday, 26 April 2015, 16:19 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 30 July 2015, 18:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Evangelos Foutras (foutrelis)
Sven-Hendrik Haase (Svenstaro)
Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Running libreoffice-4.4 on plasma-5.2, the display of pulldown menus is corrupted. Checkboxes and radio selects are a fugly mess, and mousing over menu items does not highlight them. The only toolkit that is usable is the "generic" one (but it's not a very good experience, either). gtk2, gtk3, and kde are all broken.

This bug does not exist in the official RPM builds from AUR. In that build, the gtk frontend at least seems to work properly.

Please see this post in the bbs for more details (including screenshot): https://bbs.archlinux.org/viewtopic.php?pid=1519587
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 30 July 2015, 18:43 GMT
Reason for closing:  Upstream
Additional comments about closing:  There's not much Arch can do here. KDE-users should make sure it's working in LibO 5.0 branch or report a bug to the LibO people.
Comment by Doug Newgard (Scimmia) - Monday, 27 April 2015, 15:47 GMT
They look just fine here on plasma 5.2.2. I'm wondering if this is a theme issue.
Comment by Ma Jiehong (jiehong) - Thursday, 30 April 2015, 13:27 GMT
Same here: perfectly working.
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 18:21 GMT
  • Field changed: Percent Complete (100% → 0%)
This bug is real for me and persists. The other commentors did not specify what versions of plasma or libreoffice they were running.

I have tried every toolkit supported by libreoffice, I have tried changing various theming settings, etc.

In the forum post linked in the original bug report, other users confirm the problem.

Please re-open this issue and test it yourself before closing.
Comment by Doug Newgard (Scimmia) - Wednesday, 13 May 2015, 18:27 GMT
Finally we get a response. Filing a bug report then ignoring it tends to not go well.

As I said, it's working fine here (and for jiehong) , so there is something different about your system that's causing the problem. I'm still thinking this has to be related to LO settings and/or theme. When you go to Tool > Options > View, what do you see?
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 18:30 GMT
@Scimmia, @jiehong - are you sure you are both running libreoffice-fresh on plasma latest?

I cannot make the bug go away no matter what I try. I have removed my ~/.config/libreoffice, tried lots of different settings for GNOME Application Style in system settings, and many other things.

If you guys are sure we're all running the same versions of things, it would be helpful if we could compare other settings. My lists of installed packages are here: http://pastebin.com/CbLDF7Dx

What other info can we gather to compare?
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 18:34 GMT
@Scimmia, here is a screenshot. This is immediately after removing ~/.config/libreoffice, so these should be default settings. https://drive.google.com/file/d/0B22XzHtEm36kSXlCbmJsdzIwczA/view?usp=sharing
Comment by Doug Newgard (Scimmia) - Wednesday, 13 May 2015, 18:55 GMT
The settings appear to be fine, but the style of that window is totally different than what I'm seeing. What do you have your GTK2 and GTK3 themes set to?
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 19:16 GMT
oxygen-gtk (see https://drive.google.com/file/d/0B22XzHtEm36kdWgtTWpqOFo3OXc/view?usp=sharing).

No matter what combination I try in system-settings, however, I get the same toolkit and theme. Is there some other hidden gtk setting somewhere?

My options for gtk2 are oxygen-gtk or Raleigh; for gtk3 oxygen-gtk or Default. No difference with any of them, even after logging out and back in.

Moreover, setting SAL_USE_VCLPLUGIN to any of "gtk2", "gtk3", or "kde4" renders exactly the same toolkit and theme. The only VCLPLUGIN setting that changes anything is "gen" with its tiny icons and dark color scheme.

Comment by Chris (wryfi) - Wednesday, 13 May 2015, 19:19 GMT
Actually that last comment is not quite accurate. SAL_USE_VCLPLUGIN set to "gtk2" or "kde4" render identically, but "gtk3" is different, and unusable in different ways (the pulldown menus do not work at all via the mouse).
Comment by Doug Newgard (Scimmia) - Wednesday, 13 May 2015, 19:35 GMT
Try setting both gtk2 and gtk3 to "Adwaita" and set the fallback theme icon theme to Gnome. That's how I'm currently set. Then remove .config/libreoffice and try again.
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 21:47 GMT
Hmm, I don't have an Adwaita option for a gtk themes, nor do I see one in the standard Arch packages. I see a couple of references to various Adwaita variants in AUR. Which are you using?
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 21:53 GMT
Ok, I found Adwaita in gnome-themes-standard, set it to my gtk2 and gtk3 themes, deleted ~/.config/libreoffice, set my fallback theme to GNOME, and still have the exact same result.
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 21:57 GMT
This is the gtkrc-2.0 file created by KDE Gtk Config:

# File created by KDE Gtk Config
# Configs for GTK2 programs

include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Bitstream Vera Sans Roman"
}
widget_class "*" style "user-font"
gtk-font-name="Bitstream Vera Sans Roman 10"
gtk-theme-name="Adwaita"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="oxygen"
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-menu-images=1
gtk-button-images=1
Comment by Doug Newgard (Scimmia) - Wednesday, 13 May 2015, 22:02 GMT
Mine is very similar

# File created by KDE Gtk Config
# Configs for GTK2 programs

include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Oxygen-Sans Sans-Book"
}
widget_class "*" style "user-font"
gtk-font-name="Oxygen-Sans Sans-Book 10"
gtk-theme-name="Adwaita"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1

I'm running out of ideas here.
Comment by Chris (wryfi) - Wednesday, 13 May 2015, 23:21 GMT
Eureka! I found the problem. To finally track it down, I created a new user account on my system.

In this test account, I found that libreoffice behaved properly, but that dolphin didn't match the rest of plasma5 (as it is still based on KDE Development Platform 4.14.8). I realized that I must have done something under my regular user account to make KDE4 apps match plasma5's appearance, and started googling, at which point I was reminded of what I had changed.

The qtconfig-qt4 utility allows one to choose a GUI Style for kde4 apps running under plasma5. I had changed the theme from "Desktop Settings (Default)" to "Breeze" after installing breeze-kde4. Setting this back to the default (which surprisingly corresponded to Plastique on my system) results in a reasonably behaving libreoffice, but of course any unported KDE4 apps like Dolphin do not matching the plasma5 style. (Screenshots: https://goo.gl/s4O87T and https://goo.gl/Q8YOG0)

I tried all of the different qt4 themes available in qtconfig-qt4, and while they each had minor issues, Breeze was the only one that was broken to the point of being unusable. I ultimately installed oxygen-kde4, and found that the Oxygen theme looks pretty decent next to Breeze, and maintains functionality in libreoffice.

So the real bug here is between libreoffice-4.4 and breeze-kde4. I didn't have this problem with lo-4.3, but I don't remember if lo-4.3 tried to use Breeze.

Another thing I still do not understand (possibly related, possibly another bug) is why I always get the KDE4 interface in libreoffice when setting SAL_USE_VCLPLUGIN="gtk2". The gtk3 option also causes lots of problems, but I think I read somewhere that gtk3 for libreoffice is still experimental, so this is not such a shocker.
Comment by Doug Newgard (Scimmia) - Thursday, 14 May 2015, 01:56 GMT
Alright, so it is a theme issue. Sense of sanity restored.
Comment by Andreas Radke (AndyRTR) - Saturday, 23 May 2015, 14:57 GMT
Assigning to some qt/kde maintainers.
Comment by Antonio Rojas (arojas) - Friday, 29 May 2015, 19:48 GMT
Setting SAL_USE_VCLPLUGIN to kde or kde4 doesn't have any effect for me in libreoffice-fresh-rpm, I always get the gtk style. Can you please post a screenshot of how libreoffice-fresh-rpm looks with the breeze-kde4 style (since you say that it works properly there)?
Comment by Antonio Rojas (arojas) - Monday, 01 June 2015, 17:56 GMT
This is caused by the libreoffice-kde wrapper not supporting breeze features, see https://bugs.kde.org/show_bug.cgi?id=348513
So there's nothing we can do about it
Comment by Andreas Radke (AndyRTR) - Monday, 01 June 2015, 19:40 GMT
Some please file a bug to the LibO tracker.

Loading...