Bug 120114 - Very slow document rendering - black screen and UI freezes
Summary: Very slow document rendering - black screen and UI freezes
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.2.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks:
 
Reported: 2018-09-25 11:51 UTC by Tomasz Palutkiewicz
Modified: 2019-06-08 02:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Palutkiewicz 2018-09-25 11:51:07 UTC
I have one very large document (over 100 A4 pages, 4MB of xml content)
with multiple complex tables, graphs, images, paragraphs, comments...

I cannot work with it at latest versions (6.1 releases)
as whole UI freezes almost all the time,
"(Not Responding)" appears in the window title
and black screen appears instead of document content.

It seems that too large portions of document are redrawn too often;
so the process is not finished until redrawing is started again.
It happens even at very simple pages with just few lines of text,
so probably it is related to the rest of the document.

I would recommend to add "JUST ONE PAGE" display mode,
which renders only the page at which cursor is currently located
and/or limit usual rendering to the 3 pages around the cursor or less
(it should be easy to first find 1 or 2 previous and next page breaks
and then process and display only part of document between them).
Comment 1 Dieter 2018-09-25 12:15:50 UTC
Tomasz, just for clarification: Do want to report a bug or do you propose an enhancement?
I can find both, but I think it's difficult to have them in one report. So you might concentrate on one of them and perhaps open a second report for the other one.
Comment 2 Roman Kuznetsov 2018-09-25 12:33:24 UTC
please attach your document
Comment 3 Tomasz Palutkiewicz 2018-09-25 15:08:40 UTC
(In reply to Dieter Praas from comment #1)
> Tomasz, just for clarification: Do want to report a bug or do you propose an
> enhancement?

I reported a bug of very slow document rendering
and proposed a way to solve it by limitation of rendering scope.

I does not matter how the limitation be implemented
or controlled - as display mode or automatically;
as either way it is necessary to reduce rendering time.

(In reply to Roman Kuznetsov from comment #2)
> please attach your document

It does not depend on document, only on its size.
I have the same problem with other files of about 75 pages
which worked fine at earlier versions.
Comment 4 Telesto 2018-09-25 16:07:56 UTC
@Tomasz
Could you please test LibreOffice 6.1.3 or even Master to check if the issue still around? 
https://dev-builds.libreoffice.org/daily/libreoffice-6-1/Win-x86_64@42/current/

https://dev-builds.libreoffice.org/daily/master/Win-x86_64@42/current/
Comment 5 QA Administrators 2019-05-08 18:22:55 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-06-08 02:56:48 UTC
Dear Tomasz Palutkiewicz,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp