[Libreoffice-bugs] [Bug 109158] slower loading of a huge AutoCorrect replacement table

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 26 16:48:55 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=109158

--- Comment #28 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Of course it remains slow--populating an autocorrect listbox of 200K
entries--each pair of strings has their size precisely calculated with
GetTextWidth() and GetTextHeight() calls [1], looks very expensive.

Kendy's original approach for bug 72125 of using an "approximate character
width" against the "string length" for lists over > 100 entries avoided that
overhead with the Expert Configuration dialog.

Though reverted, seems restoring similar logic (bumping the limit to 500 or
1000 list items) would still be helpful for folks using really large
autocorrection replacement tables. 

It might cause some layout problems (truncation like bug 99071) with a pair of
long strings, but should be rare with a higher threshold.

=-ref-=
https://opengrok.libreoffice.org/xref/core/svtools/source/contnr/svlbitm.cxx#209

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180526/a9a1c41c/attachment.html>


More information about the Libreoffice-bugs mailing list