Bug 165909 - Saving particular DOCX back to DOCX takes much longer than before
Summary: Saving particular DOCX back to DOCX takes much longer than before
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks: DOCX-Fields
  Show dependency treegraph
 
Reported: 2025-03-26 05:59 UTC by Aron Budea
Modified: 2025-03-31 14:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
forum-mso-en-6824.docx (388.91 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-03-26 05:59 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2025-03-26 05:59:48 UTC
Created attachment 200022 [details]
forum-mso-en-6824.docx

Save the attached DOCX file, forum-mso-en-6824.docx back to DOCX using --convert-to:
soffice.exe --convert-to docx --outdir <a different location> forum-mso-en-6824.docx

=> Conversion takes a considerably long time. Prior to 24.2 it only took ~10-20s, while in a recent daily build it's taking ~140s.

Observed in LO 25.8.0.0.alpha0+ (81dfc7afcdc473bd655ff64038e8a449a9999c0c) / Windows.

At first I tried to bibisect by opening the file in Writer, and the results were erratic, sometimes Writer was hanging, other times it was responsive.

This is a regression since the following commit in 24.8, and its backport to 24.2:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=d4fdafa103bfea94a279d7069ddc50ba92f67d01
author		Michael Stahl <michael.stahl@allotropia.de>	2024-05-03 19:31:20 +0200
committer	Michael Stahl <michael.stahl@allotropia.de>	2024-05-06 18:49:58 +0200

tdf#160402 writerfilter,sw: STYLEREF field can refer to character style