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

V Stuart Foote <vstuart.fo...@utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.me...@collabora.com

--- Comment #33 from V Stuart Foote <vstuart.fo...@utsa.edu> ---
(In reply to Xisco FaulĂ­ from comment #31)
> Created attachment 143558 [details]
> Callgrind trace from bug 118761. Thanks to Buovjaga

In this callgrind -- see line# 47060

Each of the 2642 items  loaded in the Autocorrect listbox's GUI with
SvLBoxString::InitViewData() cost both a GetTextHeight() and more expensive
GetTextWidth() call.

As suggested comment 23 the GetTextWidth() could again be controlled by testing
size of the list, assigning a fixed width when list is > some number maybe
~300.

Also, since this controls all GUI listboxes, we can't just make the text height
fixed, but guess we could include within the same list size testing and save
that cost as well?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to