Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 392943

Summary: app-office/libreoffice-3.5.0.0: graphical corruption (redraw problems?) on scrolling
Product: Gentoo Linux Reporter: Alexandre Rostovtsev (RETIRED) <tetromino>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: major CC: kripton, mmw, pryka.iluvatar, travisghansen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.freedesktop.org/show_bug.cgi?id=43498
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: screenshot

Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-02 20:25:11 UTC
Created attachment 294539 [details]
screenshot

libreoffice-3.5.0.0 writer suffers from severe graphical corruption when using the scroll bar to scroll up or down. Large blocks of text become garbled, random black lines occasionally appear, and even UI elements (such as the scroll bar itself) sometimes become corrupted.

I had experienced this problem with earlier versions of libreoffice. However, in 3.4.x they occurred infrequently enough to be merely annoying. In 3.5.0.0, they *always* occur when scrolling and make the application very nearly unusable.

Sample screenshot is attached.

I am experiencing this issue on two different ~amd64, gnome-3.2 systems (one with nvidia binary drivers, the other with intel graphics).

app-office/libreoffice-3.5.0.0 was built with the following:
USE="binfilter branding dbus eds gnome graphite gstreamer gtk java jemalloc kde
(multilib) mysql opengl postgres svg vba webdav xmlsec (-aqua) -debug
(-kdeenablefinal) -nsplugin -odk -pdfimport -test"

Portage 2.2.0_alpha79 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.2,
glibc-2.14.1-r1, 3.1.4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname:
Linux-3.1.4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Thu, 01 Dec 2011 22:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.20.1-r1, 2.21, 2.21.1-r1, 2.22
sys-devel/gcc:            3.3.6-r1, 3.4.6-r2, 4.1.2, 4.2.4-r1, 4.3.6-r1,
4.4.6-r1, 4.5.3-r1, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-03 08:15:49 UTC
As in previous bug of yours, try different frontends and if it is only gtk3 problem then open bug upstream and close this one.
(i really work only on the qt/gtk2 ones so i don't know gtk3 quality)
Comment 2 Travis Hansen 2011-12-03 15:27:11 UTC
I never had issues with gtk2 really so it's almost certain to be gtk3 issue.
Comment 3 walt 2011-12-03 23:14:47 UTC
(In reply to comment #1)
> As in previous bug of yours, try different frontends and if it is only gtk3
> problem then open bug upstream and close this one.

I just built openoffice-3.5.0 with gtk2 and the painting problem is fixed.

By 'upstream' do you mean libreoffice or gtk3?  ;p
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-04 00:36:12 UTC
(In reply to comment #1)
> As in previous bug of yours, try different frontends and if it is only gtk3
> problem then open bug upstream 
> (i really work only on the qt/gtk2 ones so i don't know gtk3 quality)

Confirming that the problem goes away if libreoffice is launched with SAL_USE_VCLPLUGIN=gtk, and reappers if launched with SAL_USE_VCLPLUGIN=gtk3.

Filed upstream bug at https://bugs.freedesktop.org/show_bug.cgi?id=43498

> and close this one.

I am sorry, but this bug should not be closed until it no longer affects Gentoo users. Meaning:
a. libreoffice no longer automatically chooses the broken gtk3 VCL plugin at runtime unless the user explicitly requests it (e.g. by manually setting SAL_USE_VCLPLUGIN); or
b. the libreoffice ebuild no longer builds the broken gtk3 VCL plugin; or
c. the libreoffice ebuild builds the broken gtk3 plugin only if the user unmasks a package.use.masked flag; or
d. affected libreoffice versions are masked.
Comment 5 Clemente Aguiar 2011-12-04 11:30:46 UTC
Just to let you know, I emerged libreoffice-3.5 on 2 diferent x64 machines and have the same problem with on both.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-04 15:55:42 UTC
Fixed in main tree, now it is optional so unless you enable it you are safe and if you do it is your problem to pick up.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-13 14:01:23 UTC
*** Bug 394549 has been marked as a duplicate of this bug. ***