[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#836531: libreoffice-gtk3: LibreOffice is unusable slow with XFCE4



Hi,

On Sun, Sep 04, 2016 at 10:54:46AM +0200, Andreas Brogle wrote:
> This problem is not as easy as you describe it.
> For a "normal" user it is very difficult to find it out. Since a system
> uprade libreoffice is unusable slow. What would you think what is the

People doing dist-upgrades of the machine are admins... ;)

> reason for? It took me a long time to realize it is a libreoffice-xfce
> problem. I searched the internet up and down and couldn't find any hint.

Well, but you installed libreoffice-gtk3 manually. (Or do you have
libreoffice-gnome installed even for your xfce?) What do other users
of your desktop use?

But yeah, stuff like this is hard to debug.

> How shall I convince others, especially my wife and daughter, to use
> libreoffice instead of Microsoft Office if they tell me they don't like
> it, because it is slow?

They use xfce, too?

You don't need to, given you are the admin of the machine, not your wife
and your daughter.

> I assume there is some kind of mechanism of libreoffice to detect the
> environment it is running in. Would it be a great thing to say
> libreoffice to use -gtk2 if running under xfce and to forbid to use
> -gtk3? I can't imagine that would need more than minimal efford.

Yes, there is.

https://cgit.freedesktop.org/libreoffice/core/tree/vcl/unx/generic/desktopdetect/desktopdetector.cxx

There problem here AFAICS is that Xfce is also detected as GNOME somehow
(othwise you probably wouldn't even get Gtk2 UI)..

https://cgit.freedesktop.org/libreoffice/core/tree/vcl/unx/generic/plugadapt/salplug.cxx

But yes, we probably could add a new "fallback list" there just for Xfce.

But for now (you of course need libreoffice-gtk2 installed), try
export SAL_USE_VCLPLUGIN=gtk (export OOO_FORCE_DESKTOP=xfce probably won't work
given the "fallback list" above)

Regards,

Rene


Reply to: