You are not logged in.

#1 2016-10-13 11:10:51

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

[Solved] GTK3 upgrade causing rendering issues with Libreoffice

Hi,  After pacman upgrade yesterday, I had bad rendering issues with LibreOffice both on gui and on document.  Tried Still and Fresh but same with each.  Running XFCE with default theme.  Tried removing all user config from home directory and reinstalling LO and also updating font cache.  Only solution has been to downgrade GTK3 but haven't tried downgrading anything else(downgrading package gtk3 (3.22.1+8+ge11df6c-2 => 3.20.9-1).  Is there anything else that I should have checked before downgrading?  Is it just me?

[dc@dcs pkg]$ grep 10-12 /var/log/pacman.log 
[2016-10-12 19:19] [PACMAN] Running 'pacman -Syu'
[2016-10-12 19:19] [PACMAN] synchronizing package lists
[2016-10-12 19:19] [PACMAN] starting full system upgrade
[2016-10-12 19:21] [ALPM] transaction started
[2016-10-12 19:21] [ALPM] upgraded glib2 (2.48.2-1 -> 2.50.1-1)
[2016-10-12 19:21] [ALPM] upgraded jasper (1.900.1-15 -> 1.900.2-1)
[2016-10-12 19:21] [ALPM] upgraded gdk-pixbuf2 (2.34.0-2 -> 2.36.0+2+ga7c869a-1)
[2016-10-12 19:21] [ALPM] upgraded gtk-update-icon-cache (3.20.9-1 -> 3.22.1+8+ge11df6c-2)
[2016-10-12 19:21] [ALPM] upgraded harfbuzz (1.3.1-1 -> 1.3.2-1)
[2016-10-12 19:21] [ALPM] upgraded libsystemd (231-3 -> 231-4)
[2016-10-12 19:21] [ALPM] upgraded systemd (231-3 -> 231-4)
[2016-10-12 19:21] [ALPM] upgraded mesa (12.0.3-2 -> 12.0.3-3)
[2016-10-12 19:21] [ALPM] upgraded mesa-libgl (12.0.3-2 -> 12.0.3-3)
[2016-10-12 19:21] [ALPM] upgraded adwaita-icon-theme (3.20-2 -> 3.22.0-1)
[2016-10-12 19:21] [ALPM] upgraded at-spi2-core (2.20.2-1 -> 2.22.0-1)
[2016-10-12 19:21] [ALPM] upgraded atk (2.20.0-1 -> 2.22+1+gd57f97d-1)
[2016-10-12 19:21] [ALPM] upgraded at-spi2-atk (2.20.1-2 -> 2.22.0-1)
[2016-10-12 19:21] [ALPM] upgraded bind-tools (9.10.4.P3-1 -> 9.11.0-1)
[2016-10-12 19:21] [ALPM] upgraded colord (1.3.2-2 -> 1.3.3-1)
[2016-10-12 19:21] [ALPM] upgraded json-glib (1.2.2-1 -> 1.2.2+4+gd725fb5-1)
[2016-10-12 19:21] [ALPM] upgraded gtk3 (3.20.9-1 -> 3.22.1+8+ge11df6c-2)
[2016-10-12 19:21] [ALPM] upgraded libgxps (0.2.4-1 -> 0.2.4+12+g4709da9-1)
[2016-10-12 19:21] [ALPM] upgraded gsettings-desktop-schemas (3.21.4-1 -> 3.22.0+1+g6f52ab5-1)
[2016-10-12 19:21] [ALPM] upgraded gnome-desktop (1:3.20.2-1 -> 1:3.22.1-1)
[2016-10-12 19:21] [ALPM] upgraded gstreamer (1.8.3-1 -> 1.9.90+8+g6d0d350-1)
[2016-10-12 19:21] [ALPM] upgraded gst-plugins-base-libs (1.8.3-1 -> 1.9.90+12+g667931e-1)
[2016-10-12 19:21] [ALPM] upgraded evince (3.20.1-2 -> 3.22.1-1)
[2016-10-12 19:21] [ALPM] upgraded flashplugin (11.2.202.635-1 -> 11.2.202.637-1)
[2016-10-12 19:21] [ALPM] upgraded glib-networking (2.48.2-1 -> 2.50.0-1)
[2016-10-12 19:21] [ALPM] upgraded libsigc++ (2.8.0-1 -> 2.10.0-1)
[2016-10-12 19:21] [ALPM] upgraded glibmm (2.48.1-1 -> 2.50.0-1)
[2016-10-12 19:21] [ALPM] upgraded gtksourceview3 (3.20.4-1 -> 3.22.0+4+g87c38b3-1)
[2016-10-12 19:21] [ALPM] upgraded libsoup (2.54.1-1 -> 2.56.0-1)
[2016-10-12 19:21] [ALPM] upgraded gnome-calculator (3.20.2-1 -> 3.22.1-1)
[2016-10-12 19:21] [ALPM] upgraded gnome-themes-standard (3.20.2-1 -> 3.22.2-1)
[2016-10-12 19:21] [ALPM] upgraded gobject-introspection-runtime (1.48.0-1 -> 1.50.0+1+gb8d92b0-1)
[2016-10-12 19:21] [ALPM] upgraded gst-plugins-base (1.8.3-1 -> 1.9.90+12+g667931e-1)
[2016-10-12 19:21] [ALPM] upgraded gtkmm3 (3.20.1-1 -> 3.22.0-1)
[2016-10-12 19:21] [ALPM] upgraded gvfs (1.28.3-1 -> 1.30.1-2)
[2016-10-12 19:21] [ALPM] upgraded harfbuzz-icu (1.3.1-1 -> 1.3.2-1)
[2016-10-12 19:21] [ALPM] upgraded jansson (2.8-1 -> 2.9-1)
[2016-10-12 19:21] [ALPM] upgraded jsoncpp (1.7.6-1 -> 1.7.7-1)
[2016-10-12 19:21] [ALPM] upgraded libass (0.13.3-1 -> 0.13.4-1)
[2016-10-12 19:21] [ALPM] upgraded linux-firmware (20160915.c4c07a8-1 -> 20161005.9c71af9-1)
[2016-10-12 19:21] [ALPM] upgraded man-pages (4.07-1 -> 4.08-1)
[2016-10-12 19:21] [ALPM] upgraded noto-fonts (20160613-1 -> 20161003-1)
[2016-10-12 19:21] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2016-10-12 19:21] [ALPM] upgraded pacman-mirrorlist (20161005-1 -> 20161009-1)
[2016-10-12 19:21] [ALPM] upgraded pygobject-devel (3.20.1-1 -> 3.22.0-1)
[2016-10-12 19:21] [ALPM] upgraded python-gobject (3.20.1-1 -> 3.22.0-1)
[2016-10-12 19:21] [ALPM] upgraded python-pyparsing (2.1.9-1 -> 2.1.10-1)
[2016-10-12 19:21] [ALPM] upgraded python-setuptools (1:28.1.0-1 -> 1:28.3.0-1)
[2016-10-12 19:21] [ALPM] upgraded qt5-webengine (5.7.0-3 -> 5.7.0-5)
[2016-10-12 19:21] [ALPM] upgraded ristretto (0.8.0-2 -> 0.8.1-1)
[2016-10-12 19:21] [ALPM] upgraded systemd-sysvcompat (231-3 -> 231-4)
[2016-10-12 19:21] [ALPM] upgraded vte-common (0.44.2-1 -> 0.46.0+5+g398a3f8-1)
[2016-10-12 19:21] [ALPM] installed pcre2 (10.22-1)
[2016-10-12 19:21] [ALPM] upgraded vte3 (0.44.2-1 -> 0.46.0+5+g398a3f8-1)
[2016-10-12 19:21] [ALPM] upgraded xterm (326-1 -> 327-1)
[2016-10-12 19:21] [ALPM] transaction completed
[2016-10-12 19:21] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2016-10-12 19:21] [ALPM] running 'gio-querymodules.hook'...
[2016-10-12 19:21] [ALPM] running 'glib-compile-schemas.hook'...
[2016-10-12 19:21] [ALPM] running 'gtk-query-immodules-3.0.hook'...
[2016-10-12 19:21] [ALPM] running 'gtk-update-icon-cache.hook'...
[2016-10-12 19:21] [ALPM] running 'gvfsd.hook'...
[2016-10-12 19:21] [ALPM] running 'udev-hwdb.hook'...
[2016-10-12 19:21] [ALPM] running 'update-desktop-database.hook'...

Looks like this https://ask.libreoffice.org/en/question … -and-text/

edit:  Also tried setting different options in /etc/profile.d/libreoffice-fresh.sh but made no difference.

Last edited by dcdriving (2016-10-18 16:47:58)

Offline

#2 2016-10-13 11:24:49

ooo
Member
Registered: 2013-04-10
Posts: 1,607

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

Did you try if the issue persists with default gtk theme Adwaita?

Offline

#3 2016-10-13 11:27:49

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

Thats the theme I am using thanks

Offline

#4 2016-10-13 11:38:36

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

Switching to i3wm with newest gtk3 gives same problem.

Offline

#5 2016-10-13 17:37:10

ingo66
Member
Registered: 2015-11-03
Posts: 8

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

Same here with the default Adwaita theme.

  • libreoffice-still 5.1.5-3

  • gtk3 3.22.1+8+ge11df6c-2

Offline

#6 2016-10-13 18:07:15

Hal5000
Member
Registered: 2016-10-13
Posts: 1

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

For me downgrading gtk3 to 3.22.1-1 resolved the problems for the moment

Offline

#7 2016-10-14 13:20:17

sqturn2k
Member
Registered: 2016-10-14
Posts: 2

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

I tried downgrading gtk3 to multiple 3.22 version (including 3.22.1-1), it still had this problem.
Using a old 3.20 version (gtk3-3.20.3-1), it worked -the problem was gone-, but then, it broke pavucontrol and probably other apps as well.

A good workaround I have found is to modify as root the file /etc/profile.d/libreoffice-still.sh to force gtk2 (export SAL_USE_VCLPLUGIN=gtk).

edit : Not so good actually, make my entire xfce session crash when I'm on the recent files previews when hovering my mouse on some recent files. (I don't have this crash when using gtk3). Weird.

Using "export SAL_USE_VCLPLUGIN=kde4" I have no more crash and the rendering issues is still gone : will probably stick to that myself while waiting for a fix ^_^

Last edited by sqturn2k (2016-10-14 14:13:27)

Offline

#8 2016-10-17 10:32:18

lazork
Member
Registered: 2008-11-12
Posts: 30

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

Upgrading to libreoffice-fresh 5.2.2-2 seems to have solved the problem for me.

Last edited by lazork (2016-10-17 10:33:01)

Offline

#9 2016-10-17 13:05:20

metebronca
Member
Registered: 2016-04-14
Posts: 3

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

I am having the same problem, upgraded the system on 2016-10-16 now my libreoffice is having resolution problem and, I don't know if it is related, on Gnome 3 DE my dock present some icons without theme (use numix). Wait to see if it fix with update.

Offline

#10 2016-10-18 16:49:07

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

lazork wrote:

Upgrading to libreoffice-fresh 5.2.2-2 seems to have solved the problem for me.

Has also fixed it for me so will mark as solved.  I don't think same issue as metebronca as not icon related but apologise if it is.

Offline

#11 2016-10-24 22:10:02

metebronca
Member
Registered: 2016-04-14
Posts: 3

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

I found out what was causing the problems with libreoffice rendering on my 4k display, some icons and some other minor problems. It was the wayland, after I start gnome session with Xorg everything begun to work again flawless. Maybe this can help others.

Offline

#12 2016-10-28 16:11:05

caj2arch
Member
Registered: 2014-03-31
Posts: 28

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

Chicken that I am, I was waiting for the 5.2.2 release in -still. Meanwhile, when I did my weekly pacman -Syu run, Linux 4.8.4-1 was part of the bundle. After rebooting, the very ugly font rendering issue in Writer and Calc was gone. Dunno how this relates, but my problem is solved.

Offline

#13 2016-10-28 18:21:47

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,485

Re: [Solved] GTK3 upgrade causing rendering issues with Libreoffice

Although you have fixed your problem, I think I should mention that it is possible to force libreoffice to use gtk2. Just set the environnement variable SAL_USE_VCLPLUGIN=gtk . If you use the Archlinux default theme (Adwaita), it should not make any visible difference and may solve gtk3 related problems. (I have noticed that I get systematically less problems with gtk2).

Last edited by olive (2016-10-28 18:41:07)

Offline

Board footer

Powered by FluxBB