Bug 149508 - Slow scrolling in document with many external images and pages
Summary: Slow scrolling in document with many external images and pages
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, perf
Depends on:
Blocks: Scrolling-Performance
  Show dependency treegraph
 
Reported: 2022-06-09 19:44 UTC by Dr. Matthias Weisser
Modified: 2024-08-13 12:23 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
test file for scrolling and saving (109.27 KB, application/vnd.oasis.opendocument.text)
2022-06-09 19:44 UTC, Dr. Matthias Weisser
Details
test picture for test file to be put in a folder Bilder (4.11 MB, image/png)
2022-06-09 19:48 UTC, Dr. Matthias Weisser
Details
test file test_speicherzeit2.odt for saving time (57.53 KB, application/vnd.oasis.opendocument.text)
2022-06-14 17:27 UTC, Dr. Matthias Weisser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Matthias Weisser 2022-06-09 19:44:15 UTC
Created attachment 180658 [details]
test file for scrolling and saving

I have been using LO for writing 15 books about medicine. 
Using LO 5.4.7 storing an odt file of just 110kB (see ) takes several minutes. All pictures are external and therefore need not to be saved.

With a newly installed LO 7.2.7 the file did not open. "Durch einen Fehler ist LO abgestürzt". I tried repair install. Same problem. "Libre Office funktioniert nicht mehr".

Using LO 7.4.0.0 the file opened. But scrolling the 1010 page document takes 5min to page 216. Saving the 110kB file takes 15min. Trying to close LO reported "keine Rückmeldung". LO is 811MB huge. System is Win 7pro 64bit Intel Duo 2.53GHz 4GB RAM.

Which alternative (Hardware/Software) would you recommend to use now?
Comment 1 Dr. Matthias Weisser 2022-06-09 19:48:46 UTC
Created attachment 180659 [details]
test picture for test file to be put in a folder Bilder

this png picture in folder Bilder to be used with the 110kB odt file for testing of scrolling and saving. The picture is 4MB and the odt is 110kB.
Comment 2 Rafael Lima 2022-06-09 21:33:08 UTC
Hi. I could not open attachment 180658 [details] (the ODT sample file). When I open it, Writer shows the file for a second and right after it crashes. The crash happens in LO 7.3 and 7.4.

Can you please test again if your sample file works?
Comment 3 Telesto 2022-06-10 09:30:28 UTC
Confirm no crash & slow with
Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 089c91b1ad16232f130cb50266732509f83c52eb
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-GB
Calc: CL Jumbo

Does the crash occur with the navigator deck open, or doesn't this matter?
Comment 4 Rafael Lima 2022-06-10 12:09:10 UTC
(In reply to Telesto from comment #3)
> Does the crash occur with the navigator deck open, or doesn't this matter?

Yes... if the Navigator is open -> CRASH

Closing the Navigator makes the file open alright.

Scrolling is very slow in

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 118bafcfd1ce4a26ec9df912197ebd466d1bd497
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL

Significantly better in

Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1
Calc: threaded
Comment 5 Rafael Lima 2022-06-10 13:07:25 UTC
Updated the title and x-ref with meta Bug 146014.

Also I'm setting this to NEW since slow scrolling in the document was confirmed in LO 7.4 by 2 other users.
Comment 6 Dr. Matthias Weisser 2022-06-13 19:57:05 UTC
(In reply to Rafael Lima from comment #2)
> Hi. I could not open attachment 180658 [details] (the ODT sample file). When
> I open it, Writer shows the file for a second and right after it crashes.
> The crash happens in LO 7.3 and 7.4.
> Can you please test again if your sample file works?

it opens up on my old desktop system with 4GB without problem using LO 5.4.7.2 x64. I had a crash with LO 7.3, but not with LO 7.4.
Comment 7 Telesto 2022-06-13 20:08:50 UTC
Adding bibisectrequest based on comment 4 (slow scrolling)
Comment 8 Dr. Matthias Weisser 2022-06-13 21:03:01 UTC
(In reply to Telesto from comment #3)
> Does the crash occur with the navigator deck open, or doesn't this matter?

I did not open the deck because the crash happened directly after install and clicking on the file for opening - and therefore I had no chance opening something in a menu.
Comment 9 Dr. Matthias Weisser 2022-06-14 17:24:46 UTC
In 2003 I wrote a book about Mexico using 88 pictures.
The file test_speicherzeit2.odt takes about 25 seconds using OO 4.1.12.
LO 5.4.7.2 takes about double that time on my Win 7 pro 64bit laptop.
Comment 10 Dr. Matthias Weisser 2022-06-14 17:27:25 UTC
Created attachment 180765 [details]
test file test_speicherzeit2.odt for saving time

test file for testing with less many pages in combination with picture in folder Bilder
Comment 11 QA Administrators 2024-06-14 03:17:59 UTC Comment hidden (obsolete)
Comment 12 Buovjaga 2024-08-13 11:21:52 UTC
(In reply to Rafael Lima from comment #4)
> (In reply to Telesto from comment #3)
> > Does the crash occur with the navigator deck open, or doesn't this matter?
> 
> Yes... if the Navigator is open -> CRASH
> 
> Closing the Navigator makes the file open alright.
> 
> Scrolling is very slow in
> 
> Version: 7.4.0.0.alpha1+ / LibreOffice Community
> Build ID: 118bafcfd1ce4a26ec9df912197ebd466d1bd497
> CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: pt-BR (pt_BR.UTF-8); UI: en-US
> Calc: CL
> 
> Significantly better in
> 
> Version: 7.3.3.2 / LibreOffice Community
> Build ID: 30(Build:2)
> CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: pt-BR (pt_BR.UTF-8); UI: en-US
> Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1
> Calc: threaded

I tested with different versions around the mentioned history and it is not clear how I could bibisect this. The perf seems equally slow. If you are able to bibisect it, please do so or explain how we can do it.

I don't see a crash with Navigator open in latest master.
Comment 13 Telesto 2024-08-13 12:23:19 UTC
Performance is decent on Windows. The RAM usage looks excessive, scrolling down the whole document rather quickly +/- 2,5 GB

Saving the file takes long > 90 seconds and memory usage explodes (4> GB)

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 055c906d7b3f2e3709292d1410358d4e66a500ed
CPU threads: 4; OS: Windows 8.1 X86_64 (6.3 build 9600); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded