Bug 164778 - Slow working when use Navigator in text document with big table of content
Summary: Slow working when use Navigator in text document with big table of content
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks:
 
Reported: 2025-01-20 22:48 UTC by Nicholas Borisov
Modified: 2025-02-02 14:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (3.88 MB, application/vnd.oasis.opendocument.text)
2025-01-23 16:19 UTC, Nicholas Borisov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Borisov 2025-01-20 22:48:43 UTC
Description:
Good evening!

When working with large text documents (200 or more pages), LibreOffice slows down. I was able to determine the cause - when the Navigator is open in the sidebar (for navigating through document chapters). How to fix it?

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.1
Calc: threaded

Steps to Reproduce:
1. Open big text file (more than 150 pages) and hube table of content (5-10 pages).
2. Open navigator (side bar).
3. There you have it, freeze and slow working.

Actual Results:
Slow working, freeze

Expected Results:
Fast and fine working


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 m_a_riosv 2025-01-22 22:25:23 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 2 Nicholas Borisov 2025-01-23 16:19:21 UTC
Created attachment 198703 [details]
Example

-
Comment 3 Nicholas Borisov 2025-01-23 16:19:44 UTC
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.1
Calc: threaded
Comment 4 m_a_riosv 2025-01-23 19:42:43 UTC
Being a very huge and complex file, it seems to work fine for me. Not too fast, but it doesn't freeze.
Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

With MS Word it is really slow.
Microsoft® Word para Microsoft 365 MSO (version 2412 compilation 16.0.18324.20092) 64 bits
Comment 5 Roman Kuznetsov 2025-02-01 09:52:47 UTC
No repro in Windows

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a8ec21adf255b70bb6eeb0a1717190df303d8b26
CPU threads: 16; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded

Could you please try 24.8 version?
Comment 6 Andrey Kuznetsov 2025-02-02 14:49:15 UTC
I want to confirm (as does my namesake) that there are problems in the version 24.2.7.2  But when I started trying: inserting my pictures. Adding pieces of text, etc. - I felt noticeable "freezes". The occupied memory increased by 6.5 GB. Although it didn't hang, but even that: thank God.

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.1