Bug 113738 - Drawing elements are EXTREMELY slow to open
Summary: Drawing elements are EXTREMELY slow to open
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, perf
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2017-11-09 15:03 UTC by Timur Davletshin
Modified: 2023-06-13 03:12 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Testcase file (11.33 KB, application/vnd.oasis.opendocument.text)
2017-11-09 15:03 UTC, Timur Davletshin
Details
Callgrind output from master (6.55 MB, application/x-xz)
2017-11-15 13:18 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur Davletshin 2017-11-09 15:03:05 UTC
Description:
Simple diagram made of boxes connected with arrows is EXTREMELY slow to open (several minutes) and arrows are misaligned every time I open file.

Steps to Reproduce:
See document in the attachment. I'm not sure which element is crucial to produce file this slow.

1. Insert table
2. Add number of square boxes with drawing toolbar
3. Connect them with arrows
4. Save file

Actual Results:  
1. File is VERY slow to open
2. Arrows are misaligned every time I fix them (after saving & closing file).

Expected Results:
1. Not that slow
2. Arrows should not be misplaced


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Bug exist for a very long time, since 3.x or something.


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Timur Davletshin 2017-11-09 15:03:44 UTC
Created attachment 137644 [details]
Testcase file
Comment 2 Dieter 2017-11-13 06:54:08 UTC
Tried to open the testfile => took about 30 sek. => not extremely slow but to slow for a document of 12KB. I can't see the misalignment, but that's of course I don't know how it should looks like. Could you perhaps add an PDF or screenshot of the desired result? What I also could see, is that - just after opening - the green star appears at the "save-icon". That shouldn't I think. There was also a bug about that behaviour some weeks ago.

Version: 5.4.3.2 (x64)
Build-ID: 92a7159f7e4af62137622921e809f8546db437e5
CPU-Threads: 4; Betriebssystem:Windows 6.19; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 3 Timur Davletshin 2017-11-13 07:27:10 UTC
(In reply to Dieter Praas from comment #2)
> Tried to open the testfile => took about 30 sek. => not extremely slow but
> to slow for a document of 12KB. I can't see the misalignment, but that's of
> course I don't know how it should looks like. Could you perhaps add an PDF
> or screenshot of the desired result? What I also could see, is that - just
> after opening - the green star appears at the "save-icon". That shouldn't I
> think. There was also a bug about that behaviour some weeks ago.
> 
> Version: 5.4.3.2 (x64)
> Build-ID: 92a7159f7e4af62137622921e809f8546db437e5
> CPU-Threads: 4; Betriebssystem:Windows 6.19; UI-Render: Standard; 
> Gebietsschema: de-DE (de_DE); Calc: group

These is just a sequence of blocks connected with arrows, it is visible on preview.

30 seconds — try it on something slower :) It takes about 5-7 minutes on NUC to load, while 300 pages long documents takes around 20 seconds to load.
Comment 4 Buovjaga 2017-11-14 19:43:20 UTC
One issue per report, so removing mention of misalignment. Please open a new report for it. Note that there might already be a report for it (it sounds familiar). I recommend searching Bugzilla.
Comment 5 Buovjaga 2017-11-15 13:18:56 UTC
Created attachment 137777 [details]
Callgrind output from master

Arch Linux 64-bit
Version: 6.0.0.0.alpha1+
Build ID: 17cfe6e25d479428de308c22fcd218dcf8827840
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on November 15th 2017
Comment 6 Timur Davletshin 2018-02-01 16:04:47 UTC
Still can be reproduced in LO 6.0
Comment 7 Telesto 2018-02-05 17:28:59 UTC
+/- 30 seconds with
Version: 6.1.0.0.alpha0+
Build ID: ea89dabf8b6363972190a6b50c527c418d51c2c7
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-01-27_22:55:15
Locale: nl-NL (nl_NL); Calc: CL

+/-19 seconds with:
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b

Similar for
AOO413m1(Build:9783)  -  Rev. 1761381
2016-09-29 02:39:19
Comment 8 QA Administrators 2019-02-06 03:50:27 UTC Comment hidden (obsolete)
Comment 9 Dieter 2019-02-06 08:26:03 UTC
Still present in LO 6.1.5.2 (takes 34 seconds to open file)

Version: 6.1.5.2 (x64)
Build-ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group threaded
Comment 10 Timur Davletshin 2019-02-06 08:35:50 UTC
No progress since this bug was reported. Both stable and development branches still have this problem.
Comment 11 Dieter 2021-02-11 19:45:21 UTC
20 seconds with

Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

so some improvement but not as expected I think
Comment 12 Roman Kuznetsov 2022-05-25 09:50:09 UTC
7 sec in

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: b6266207b55a7633dc82b02142215757512adfb7
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

Timur, please retest it yourself in 7.4 alpha 1
Comment 13 QA Administrators 2023-05-13 03:19:06 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2023-06-13 03:12:05 UTC
Dear Timur Davletshin,

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