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

--- Comment #16 from Patrick Luby <[email protected]> ---
Thank you for your spin dump for 24.2. Unfortunately, it looks the same to me
as the earlier spin dumps.

After looking through the spin dumps earlier today, it appears to me that
LibreOffice is spending a lot of time in GetTextArray() in
SvxFont::QuickGetTextSize() so I have uploaded the following patch that adds
optional logging before and after the GetTextArray() calls in
SvxFont::QuickGetTextSize():


When this new logging is enabled and you run LibreOffice in a Terminal, it will
display pairs of messages for each GetTextArray() call when you double click in
the frame and when you save with the cursor in the frame like below:

info:editeng.quicktextsize:22053:7678595:editeng/source/items/svxfont.cxx:482:
SvxFont::QuickGetTextSize before GetTextArray(): Case map: 0 Fix kerning: 0
info:editeng.quicktextsize:22053:7678595:editeng/source/items/svxfont.cxx:485:
SvxFont::QuickGetTextSize after GetTextArray(): Text length: 222 Text size:
31119x295

What will be interesting to see is if the bug filer sees any pauses between the
"before" and "after" messages or if the "Text size" returned has any unusual
(e.g. negative) values.

I will post again when the logging code is in the nightly 24.2 build along with
instructions on how to enable this new logging in a Terminal.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to