Bug#836531: Bug#837356: libreoffice-gtk3: Impress is unusably slow on GNOME 3 with libreoffice-gtk3 installed

Daniel Serpell <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.devel.gtk-gnome
Message-ID <CANepG=P-9zzU1GB59azWX2uQzUZ8NzXzysTGr=mpMBaQ1iViaQ@mail.gmail.com>
Hi!

On Thu, Sep 15, 2016 at 5:59 AM, Rene Engelhard <[email protected]> wrote:
>
> Hi,
>
> On Wed, Sep 14, 2016 at 10:53:13PM -0300, Daniel Serpell wrote:
> > [...] An strace shows this sequence repeated many times:
> [...]
> > [pid 28769] open("/usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf", O_RDONLY) = 35
> > [pid 28769] fstat(35, {st_mode=S_IFREG|0644, st_size=69076, ...}) = 0
> > [pid 28769] mmap(NULL, 69076, PROT_READ, MAP_SHARED, 35, 0) = 0x7fddcc13b000
> > [pid 28769] close(35)                   = 0
> > [pid 28769] clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {41, 526077669}) = 0
> > -------------------------------------------------------------------------
> >
> > Note that the name of the font file is always the same. After
> > uninstalling the package libreoffice-gtk3, the dialog opens at once.
>
> And given LO (AFAIK) does nothing with cantarell itself but:
>
> $ apt-cache show fonts-cantarell
> Package: fonts-cantarell
> Version: 0.0.16-1
> Installed-Size: 174
> Maintainer: Debian Fonts Task Force <[email protected]>
> Architecture: all
> Depends: fontconfig
> Description-en: sans serif font family designed for on-screen readability
>  The Cantarell font family is designed as a contemporary Humanist sans serif
>  and is particularly designed for on-screen reading on mobile devices at small
>  sizes, such as phones and tablets.
>  .
>  This is the open font officially chosen by default for the GNOME 3 desktop and
>  for Fedora branding materials.
>  .
>  Regular and bold weights are provided for now. Italics are planned.
>  .
>  Each font file currently contains 391 glyphs, and fully support the
>  following writing systems: Basic Latin, Western European, Catalan,
>  Baltic, Turkish, Central European, Dutch and Afrikaans.
> Description-md5: caccfeef0878116a50e0182694ad1168
> Multi-Arch: foreign
> Homepage: http://live.gnome.org/CantarellFonts
> Tag: made-of::font, role::data, x11::font
> Section: fonts
> Priority: optional
> Filename: pool/main/f/fonts-cantarell/fonts-cantarell_0.0.16-1_all.deb
> Size: 64364
> MD5sum: 605bf43fed0bbeb868f528c50a3ed9ae
> SHA1: a6bbf699d6a1079a67ad94126eda43ec071df800
> SHA256: 1b655c76b8e3d7cd363be4d4c2dbb9e09f54e74564bad4ff1ef44b8336f4bfd3
>
> > I'm running libreoffice under Gnome desktop.
>
> .. I'd actually believe this is a Gtk3 and/or GNOME bug?
>
> What happens if you downgrade Gtk3 to 3.20.9-1 or so?
> (http://snapshot.debian.org/package/gtk%2B3.0/3.20.9-1/#libgtk-3-0_3.20.9-1)
>

Downgrading Gtk3 to 3.20.9-1 fixes the bug!!

So, it is probably a bug in Gtk3 or in the way that LO uses Gtk (because no
other Gtk app seems affected).

>
> Cc'ing #836531 and -gtk-gnome.
>

Thanks,

    Daniel.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.