Linked Graphic on localhost slows freezes application for several seconds when not available.
I was sent a file by someone else, linking multiple local web server images. Scrolling through this document froze the application for multiple seconds, as well as freezing other LibreOffice application instances.
I have a fairly high spec PC (32 thread, 64GB ram) which was hardly under any load. Perhaps the resolving of this linked graphic can be done asynchronously to prevent blocking the user.
Steps to Reproduce:
1. Insert > Image
2. Enter Localhost image URL as 'File Name' and check the 'Link' checkbox > confirm 'Keep Link'
3. Save and close document
4. Stop localhost server
5. Re-open document, scrolling over the localhost linked graphic will freeze Writer for several seconds. It also freezes other open LibreOffice Writer or Calc instances.
Scrolling over the localhost linked graphic will freeze Writer for several seconds. It also freezes other open LibreOffice Writer or Calc instances.
No delay, should just be an unresolved graphic without blocking the application
User Profile Reset: No
Version: 126.96.36.199 (x64)
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 32; OS: Windows 10.0 Build 19041; UI render: default; VCL: win;
Locale: en-GB (en_GB); UI-Language: en-GB
Created attachment 163886 [details]
Sample document with linked localhost graphic on page 5
this looks similar to bug 131185.
For me, it hangs for 1-2 seconds.
Regression introduced by
author Tomaž Vajngerl <email@example.com> 2018-04-13 16:58:49 +0900
committer Tomaž Vajngerl <firstname.lastname@example.org> 2018-04-16 02:52:02 +0200
commit 9fb7aaf570c03c8a26d763f1205fb8c890e8211a (patch)
parent ba69036c8e889237da4bb312d7c5c94066abbfd3 (diff)
Make linked graphic register into LinkedManager again
Bisected with bibisect-linux64-6.1
Adding Cc: to Tomaž Vajngerl