[Libreoffice-bugs] [Bug 135390] Linked Graphic on localhost slows freezes application for several seconds when not available

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 1 13:07:51 UTC 2021


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

Miklos Vajna <vmiklos at collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|regression                  |implementationError

--- Comment #3 from Miklos Vajna <vmiklos at collabora.com> ---
The above commit just shifts the download+parse of that image from import-time
to render-time. If you have a document with lots of images, then this
lazy-loading is a great change, you don't need to wait for the parsing of all
images till you see the first page.

While it's true that scrolling to the image freezes the UI for 1-2 seconds, the
same synchronous loading already happened before the above commit, just at load
time.

If you profile just the load time of the document, then the new cost is:

real    0m1,966s

while it used to be:

real    0m4,828s

so this isn't a regression, just this cost was paid import-time in the past and
now it's paid render-time.

Let's leave the bug open, since async loading from the network would be indeed
nice, but let me adjust keywords accordingly, since this never worked.

-- 
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/20210901/48cfa86f/attachment.htm>


More information about the Libreoffice-bugs mailing list