[Libreoffice-bugs] [Bug 143268] Slow response in document with many tables after Table tree is expanded in Navigator

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 12 21:22:50 UTC 2021


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

--- Comment #32 from Jim Raykowski <raykowj at gmail.com> ---
AFAICT this slow behavior has always existed. It is caused by the way table
names are inserted into the Navigator content tree. Please see
sw/source/uibase/utlui/content.cxx SwContentType::FillMemberList case
ContentTypeId::TABLE code block.

Refilling the table member list only when the number of tables change will not
update the list when a table is renamed or it's visibility changes.

An improvement in response can be seen if the second argument to
SwEditShell::GetTableFrameFormat is changed from true to false in the member
loop.

GetTableFrameFormat const SwFrameFormat& rTableFormat =
m_pWrtShell->GetTableFrameFormat(i, false);

Renaming a Table using the Rename object: dialog also shows this slowness when
the document has a large number of tables.

-- 
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/20210912/aeda0938/attachment.htm>


More information about the Libreoffice-bugs mailing list