Created attachment 58800 [details] Document containing the same bulleted list element pasted a several time, that is pretty slow to scroll into Hi ! Here's an issue that arose with LibreOffice 3.5.0 and is still in Libo 3.5.1. It's 100% reproducible under Arch Linux or Ubuntu 12.04 beta / daily. A document I used to work on under Libo 3.4.x is now extremely slow to scroll. I figured out that the behaviour could be obtained when copying / pasting one bulleted list element to a blank file. When pasting this bulleted list element a couple of times onto a page, and trying to scroll, display is very slow. I attached a test case (not the whole original file), but the latter is even slower but contains some personal pieces of information. I can send it privately if needed. Test configuration : Core2Duo 3 GHz, Nvidia 9800 + prioprietary drivers. Issues occurs also with the Nouveau driver. Thanks again to everyone involved, best regards, Mahen
Thanks for bugreport reproduced in 3.5.4 on Fedora 64 bit, KDE, CPU Core2Duo 1.8 GHz, Intel video Not reproduced in 3.3.4 , therefore regression
Hi Caolan - any thoughts if this is a duplicate of your speedup work ? :-)
"reproduced in 3.5.4". Trying my 3.5.4 on Fedora 17 it doesn't seem obviously slow. But maybe I've just got a sufficiently fast computer that I don't notice. There's a chance that this is a duplicate of bug 48932 (http://cgit.freedesktop.org/libreoffice/core/commit/?id=4bc06051d1bf484a6f98186f0a2d168b3d98b9cc) in which case 3.6.0 beta would be fast. Can someone who can reproduce this on 3.5.X try 3.6.0beta and see if its still there ? If it is still there does toggling off spellchecking make a difference ? And/or toggling on read-only.
in 3.6 beta 1 on Fedora 64 bit also slow
hmm, if I make the example much longer I can get a pretty sluggish document. To try and make sure I don't fix a different problem can I get the following... a) Load the doc and go to the top of the first page. Hold down the page down button and stopwatch time how many seconds does it take before you hit the end of the last page ? b) Now ctrl+a (to select all). Format->character and select "Liberation Sans" to change all the text to that font. Now go to the top of the first page. Hold down the page down button and stopwatch time how many seconds does it take before you hit the end of the last page ? i.e. does changing the font to "Liberation Sans" make it much faster
With "Liberation Sans" 3.5 and 3.6 working correctly
ok, so its fontconfig font substitution is too slow, so we need to cache the results. But cache this time on the full set of attributes so we don't get things wrong as in bug #41556
so - I guess this is fundamentally a dup of bug#44719 too then (that is a MAB).
possibly/probably. I'll fill out a "got to key off all attributes" implementation first and we can see then if it makes a difference to both reports.
Created attachment 63259 [details] make demo bigger so slowdown is easier for me to see
Caolan McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8c023fd645c8b83637ffcde4055886b2e4f94393 Resolves: fdo#47636 cache fontconfig font substitutions
The above takes scrolling through the larger example by holding down the page down button from 24+ to 6 seconds for me. Hopefully I'm fixing the original bug report here.
Thanks for fixing this bug
Caolan McNamara committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=eaf9cbd403f375f9b69e1c7ed8503d3bc23bcc6e&g=libreoffice-3-5 Resolves: fdo#47636 cache fontconfig font substitutions It will be available in LibreOffice 3.5.6.
Caolan McNamara committed a patch related to this issue. It has been pushed to "libreoffice-3-6": http://cgit.freedesktop.org/libreoffice/core/commit/?id=304bb8386cef389c82e437f387576c4cf436de48&g=libreoffice-3-6 Resolves: fdo#47636 cache fontconfig font substitutions It will be available in LibreOffice 3.6.
Caolan McNamara committed a patch related to this issue. It has been pushed to "libreoffice-3-5-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d122b0f592aaa8af00695109ce2a71f6d8807a96&g=libreoffice-3-5-5 Resolves: fdo#47636 cache fontconfig font substitutions It will be available already in LibreOffice 3.5.5.