Bug 145755 - FILESAVE DOCX/DOCM slow when trying to save opened dotm with standard MS template
Summary: FILESAVE DOCX/DOCM slow when trying to save opened dotm with standard MS temp...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks:
 
Reported: 2021-11-18 11:51 UTC by Andrew
Modified: 2022-12-23 03:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
file include standard "Blue spheres resume" MS template (1.53 MB, application/vnd.ms-word.template.macroEnabled.12)
2021-11-18 11:54 UTC, Andrew
Details
Flamegraph (109.46 KB, application/x-bzip)
2021-11-18 18:05 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2021-11-18 11:51:57 UTC
Description:
When i open .dotm file with a standard "Blue spheres resume" MS template and then try to save file as docx or docm Writer is hanging.


Steps to Reproduce:
1.Open dotm file with a standard "Blue spheres resume" MS template (file attached)
2.Save as docx or docm
3.

Actual Results:
Writer is hanging (crashed)

Expected Results:
save the file



Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.1.6.2 (x64) / LibreOffice Community
Build ID: 0e133318fcee89abacd6a7d077e292f1145735c3
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: uk-UA (uk_UA); UI: uk-UA
Calc: CL
Comment 1 Andrew 2021-11-18 11:54:56 UTC
Created attachment 176333 [details]
file include standard "Blue spheres resume" MS template
Comment 2 Xisco Faulí 2021-11-18 15:48:22 UTC
it doesn't crash nor hang for me in

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: 4180b2f7855479f9187cd259d57c06e9fedfb802
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

it just takes 2 minutes 20 seconds to save.

@Andrew, in your case, does it save the document if you wait a bit longer ?
Comment 3 Andrew 2021-11-18 16:27:29 UTC
(In reply to Xisco Faulí from comment #2)
> it doesn't crash nor hang for me in
> 
> Version: 7.3.0.0.alpha1+ / LibreOffice Community
> Build ID: 4180b2f7855479f9187cd259d57c06e9fedfb802
> CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded
> 
> it just takes 2 minutes 20 seconds to save.
> 
> @Andrew, in your case, does it save the document if you wait a bit longer ?

Hi @Xisco Faulí !
You're right. After 10 minutes 20 seconds of waiting with the window hanging, the document was saved. 
Below is a screenshot of the window while waiting
https://i.imgur.com/LcnFXM0.png
Comment 4 Xisco Faulí 2021-11-18 16:35:03 UTC
thanks for your feedback. Let's turn this into a performance issue
Comment 5 Julien Nabet 2021-11-18 18:05:38 UTC
Created attachment 176347 [details]
Flamegraph

On pc Debian x86-64 with master sources updated today + gen rendering, I just did this:
- open dot file
- save as docx
was it the right thing to do?
Indeed, I didn't wait long to have the docx (of course, it's a Ryzen 5 2600 + 32GB but there are far more powerful machines now).
Comment 6 Julien Nabet 2021-11-18 18:11:21 UTC
Forget what I said in my last comment about the time, I checked with a chrono, it took 1min25 so very long for a one page doc.
Comment 7 Roman Kuznetsov 2022-05-25 10:50:37 UTC
Instantly saving 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

Andrew, please retest in latest 7.4 dev build

https://dev-builds.libreoffice.org/daily/master/current.html
Comment 8 QA Administrators 2022-11-22 03:35:47 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2022-12-23 03:36:50 UTC
Dear Andrew,

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