Bug 292977 - LibreOffice shows no menu text when compositing is enabled
Summary: LibreOffice shows no menu text when compositing is enabled
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 4.8.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 16:15 UTC by hyper_ch
Modified: 2012-01-31 17:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hyper_ch 2012-01-31 16:15:53 UTC
Version:           4.8.0 (using KDE 4.8.0) 
OS:                Linux

Well, I currently run:

LibreOffice 3.4.5 
OOO340m1 (Build:502)

on Kubuntu 11.10 with KDE Platform Version 4.8.00 (4.8.0.

I have the following LO packages installed:


dpkg -l | grep libreoffice
ii  libreoffice                            1:3.4.5-0ubuntu1                    
                                        office productivity suite
ii  libreoffice-base                       1:3.4.5-0ubuntu1                    
                                        office productivity suite -- database
ii  libreoffice-base-core                  1:3.4.5-0ubuntu1                    
                                        office productivity suite -- shared
library
ii  libreoffice-calc                       1:3.4.5-0ubuntu1                    
                                        office productivity suite --
spreadsheet
ii  libreoffice-common                     1:3.4.5-0ubuntu1                    
                                        office productivity suite --
arch-independent files
ii  libreoffice-core                       1:3.4.5-0ubuntu1                    
                                        office productivity suite --
arch-dependent files
ii  libreoffice-draw                       1:3.4.5-0ubuntu1                    
                                        office productivity suite -- drawing
ii  libreoffice-emailmerge                 1:3.4.5-0ubuntu1                    
                                        office productivity suite -- email mail
merge
ii  libreoffice-filter-binfilter           1:3.4.5-0ubuntu1                    
                                        office productivity suite -- legacy
filters (e.g. StarOffice 5.2)
ii  libreoffice-filter-mobiledev           1:3.4.5-0ubuntu1                    
                                        office productivity suite -- mobile
devices filters
ii  libreoffice-help-en-us                 1:3.4.5-0ubuntu1                    
                                        office productivity suite --
English_american help
ii  libreoffice-impress                    1:3.4.5-0ubuntu1                    
                                        office productivity suite --
presentation
ii  libreoffice-java-common                1:3.4.5-0ubuntu1                    
                                        office productivity suite --
arch-independent Java support files
ii  libreoffice-kde                        1:3.4.5-0ubuntu1                    
                                        office productivity suite -- KDE
integration
ii  libreoffice-l10n-common                1:3.4.5-0ubuntu1                    
                                        common files for LibreOffice language
and help packages
ii  libreoffice-l10n-de                    1:3.4.5-0ubuntu1                    
                                        office productivity suite -- German
language package
ii  libreoffice-math                       1:3.4.5-0ubuntu1                    
                                        office productivity suite -- equation
editor
ii  libreoffice-officebean                 1:3.4.5-0ubuntu1                    
                                        office productivity suite -- Java bean
ii  libreoffice-report-builder             1:1.2.1+LibO3.4.5-0ubuntu1          
                                        LibreOffice extension for building
database reports
ii  libreoffice-report-builder-bin         1:3.4.5-0ubuntu1                    
                                        LibreOffice extension for building
database reports -- libraries
ii  libreoffice-style-crystal              1:3.4.5-0ubuntu1                    
                                        office productivity suite -- Crystal
symbol style
ii  libreoffice-style-galaxy               1:3.4.5-0ubuntu1                    
                                        office productivity suite -- Galaxy
(Default) symbol style
ii  libreoffice-style-hicontrast           1:3.4.5-0ubuntu1                    
                                        office productivity suite -- Hicontrast
symbol style
ii  libreoffice-style-human                1:3.4.5-0ubuntu1                    
                                        office productivity suite -- Crystal
symbol style
ii  libreoffice-style-oxygen               1:3.4.5-0ubuntu1                    
                                        office productivity suite -- Oxygen
symbol style
ii  libreoffice-style-tango                1:3.4.5-0ubuntu1                    
                                        office productivity suite -- Tango
symbol style
ii  libreoffice-writer                     1:3.4.5-0ubuntu1                    
                                        office productivity suite -- word
processor
ii  openclipart-libreoffice                0.18+dfsg-11build1                  
                                        clip art for OpenOffice.org/LibreOffice
gallery



When I use now LO in KDE with kwin compositing enabled, I don't see any text in
the menus e.g.:

http://images.sjau.ch/img/f513030c.png


When I disable compositing (Alt-Shift-F12), I see then everything normal:

http://images.sjau.ch/img/36417840.png

It happens with libreoffice-kde installed and uninstalled.

I have also reported the bug at LibreOffice as I don't know if it's a compositing thing or a libreoffice thing. I only noticed it in LO this far.

https://bugs.freedesktop.org/show_bug.cgi?id=45451

Reproducible: Didn't try

Steps to Reproduce:
Get KDE 4.8 and LO 3.5.0

Open LO

Click on a menu

Actual Results:  
The items don't show text

Expected Results:  
The items show text

When disabling compositing the text is shown.
Comment 1 Thomas Lübking 2012-01-31 16:44:24 UTC
- does hovering across menu entries show them (and is this persistent?)
- does it happen with the xrender backend? ("kcmshell4 kwincompositing", 3rd tab)
- does it happen if you disable HW acceleration in LO?
Comment 2 hyper_ch 2012-01-31 16:52:16 UTC
- hovering accross the menu entries just marks the background of that item darker grey but no text is shown

- changing from OpenGL to xrender had no effect. no text shown when compositing... text fine when not compositing

- hardware acceleration with xrender:  no text
- hardware acceleration with opengl:  no text
Comment 3 Thomas Lübking 2012-01-31 16:59:47 UTC
Ok, pretty much for sure a LO issue then.
(I thought about interference on the OpenGL level, ie. a driver issue - but that would not affect the xrender backend)

My wild guess is that they change the color table in the composited case and end up with a wrong alpha channel on the cont color (one text item btw. is visible, anything special about it?)

You could try to
a) susoend kwin compositing
b) run "xcompmgr" (try: "xcompmgr -cFfI 0.1 -O 0.08 -r 16 -l -19" ;-)
c) start LO and check whether the issue occurs as well

Unless we've any indication that LO font rendering is NOT broken under a 32bit arch, this bug is here invalid - sorry.
Comment 4 hyper_ch 2012-01-31 17:02:13 UTC
susoend kwin compositing
susoend: command not found
Comment 5 Thomas Lübking 2012-01-31 17:06:17 UTC
sorry, typo: "suspend" - and the shortcut for it is shift+alt+f12
Comment 6 hyper_ch 2012-01-31 17:11:11 UTC
doing:

a) suspend kwin
b) run xcompmgr with your settings
c) start LO

--> no text
Comment 7 Thomas Lübking 2012-01-31 17:13:48 UTC
You should inform them about this to stress it's likely their issue (though maybe caused by some dependency like the font renderer)
Comment 8 hyper_ch 2012-01-31 17:15:30 UTC
thx for the help