Bug 114451 - Writer works not well while inserting large SVG file
Summary: Writer works not well while inserting large SVG file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2017-12-14 04:37 UTC by Volga
Modified: 2023-09-19 12:49 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
blend_modes.svg (30.85 KB, image/svg+xml)
2018-06-20 19:04 UTC, Roman Kuznetsov
Details
filters.svg (30.72 KB, image/svg+xml)
2018-06-20 19:04 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2017-12-14 04:37:28 UTC
Description:
If a SVG image over than 100 KB inserted into LibreOffice Writer, than Writer become slow or even no responce.

Steps to Reproduce:
1. Download blend_modes.svg and filters.svg from https://gitlab.com/inkscape/inkscape/tree/master/share/examples
2. Open Writer
3. Insert -> Image

Actual Results:  
If I insert blend_modes.svg into document, Writer become slow while scrolling the image. If I insert filters.svg, Writer become no responce.

Expected Results:
LO should making these images works as expected within document.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.0.0.beta2+ (x64)
Build ID: b030bf19e29f031b0a640dd92c38d654785f1a99
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:libreoffice-6-0, Time: 2017-12-12_05:03:02
Locale: zh-CN (zh_CN); Calc: group threaded


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Telesto 2017-12-14 19:53:54 UTC
I expect it to be bug 79721 or bug  96880. Bug 96880 comment 8:
Just another regression due to the introduction of the new SVG implementation introduced in 4.0. This are smooth in 3.6.7.
Comment 2 Yousuf Philips (jay) (retired) 2017-12-15 21:48:00 UTC
Xisco: what is your expert opinion on the problems with these svgs?
Comment 3 Roman Kuznetsov 2018-06-20 19:04:25 UTC
Created attachment 142980 [details]
blend_modes.svg
Comment 4 Roman Kuznetsov 2018-06-20 19:04:46 UTC
Created attachment 142981 [details]
filters.svg
Comment 5 Roman Kuznetsov 2018-06-20 19:12:46 UTC
I downloaded files from link, but it both didn't open and  =(
It was my mistake, to upload it here before as I checked it =(
please delete it if possible
Comment 6 QA Administrators 2019-06-21 02:52:24 UTC Comment hidden (obsolete)
Comment 7 Telesto 2020-06-26 20:15:17 UTC
Repro with
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 006c65bbd472cb1d7d44e095714e28190b76be0d
CPU-threads: 4; Besturingssysteem: Windows 6.3 Build 9600; UI-render: Skia/Rooster; VCL: win
Locale: nl-NL (nl_NL); GI: nl-NL
Calc: CL
Comment 8 QA Administrators 2022-06-27 03:28:50 UTC Comment hidden (obsolete)
Comment 9 Roman Kuznetsov 2022-06-27 14:33:57 UTC
>If I insert filters.svg, Writer become no responce.

LO opens it slowly (~30 sec), but opens in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 086055b0d7e44d1d07b3f23af55503e6a3924d87
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 10 Kira Tubo 2023-09-01 05:46:30 UTC
- This is no longer reproducible with the blend_modes.svg image file
- With the filters.svg file, as Roman noted in comment #9, you can insert the file, but it takes around 30-45 seconds for LO Writer to respond. In the end, the file is successfully inserted. I did notice that the page scrolling got slower, but not enough to warrant any issues. 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 695ae365dcab7c7dd59b39411299c5c200081885
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 11 Buovjaga 2023-09-19 12:49:21 UTC
Let's close. For performance while working, there is bug 79721 mentioned in comment 1.