FS#51360 - [libreoffice-fresh][gtk3] Object selection and edit freezes LibreOffice for tens of seconds
Attached to Project:
Arch Linux
Opened by Paulo Fino (burafino) - Thursday, 13 October 2016, 12:07 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 17 October 2016, 14:42 GMT
Opened by Paulo Fino (burafino) - Thursday, 13 October 2016, 12:07 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 17 October 2016, 14:42 GMT
|
Details
Description:
On 64 bit Arch Linux, updating Gnome to 3.22 brought back the LibreOffice bug 1373933 (https://bugzilla.redhat.com/show_bug.cgi?id=1373933) dealt with in Fedora. This problem seems to affect all LibreOffice apps, but is mostly visible in Impress and Draw. Any time you select an object (a shape, a block of text, etc), the app freezes for several seconds, using 100% CPU. If you want to edit the object (a block of text), again the app freezes for a few seconds, and then the selection is changed to an edit cursor and you can finally type text. With this slow speed, Impress and Draw are completely unusable for any serious work. Plus the running app's icon does not show. Additional info: * The current version is stated as 5.2.2-1, last updated on 2016-10-01 08:32 UTC. Steps to reproduce: 1. Launch LibreOffice Draw or Impress 2. Open a document 3. Click on an object to edit it Possible solution: Starting Gnome on X instead of Wayland doesn't help. But the fix from comment 4 in the original bug works and brings the icon back: export SAL_USE_VCLPLUGIN=gtk before launching e.g. libreoffice --draw The bug apparently has to do with emitting ::style-set by name. GtkStyle is deprecated, but libreoffice still emits ::style-set quite a bit, so lets at least not be slow while doing it. The bug has apparently been fixed in Fedora for libreoffice-5.2.2.1-2.fc25 |
This task depends upon
At least editing in Draw works alright when app run normally, without `export SAL_USE_VCLPLUGIN=gtk`.