Bug 166651 - The heading 1 has an indent in empty DOCX document (generated by LibreOffice). Disappearing after save and reload
Summary: The heading 1 has an indent in empty DOCX document (generated by LibreOffice)...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Writer-Styles-Heading
  Show dependency treegraph
 
Reported: 2025-05-19 19:05 UTC by Telesto
Modified: 2025-06-10 09:17 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2025-05-19 19:05:41 UTC
Description:
The heading 1 has an indent in empty DOCX document (generated by LibreOffice). Disappearing after save and reload

Steps to Reproduce:
1. Open Writer
2. Save document as DOCX
3. File -> Reload
4. Insert heading 1 using the Toolbar drop down or Sidebar
5. Type some text for the heading. Notice the indent
6. Save
7. Reload (gone)

Actual Results:
There is an indent

Expected Results:
The indent shouldn't be there at all, I guess


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9bc5b89c149497a83117edfadc3fb0b96d2f9899
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded
Comment 1 Telesto 2025-05-19 19:06:24 UTC
Not in
Version: 7.3.8.0.0+ (x64) / LibreOffice Community
Build ID: e1ad83ddb2f39419fb5d7c69eba51e2b9f49c788
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 2 Jessica 2025-05-21 11:52:11 UTC
I can confirm the bug in 

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

and

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: b52384de6f09f124fef9405ccf273c0f5c3339d1
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 3 Jeremy Norvell 2025-06-08 15:12:09 UTC
cc: Vasily Melenchuk <vasily.melenchuk@cib.de>

Hello , I completed a bibisection of the described bug your bug, it first appears in 7.5.0.0+.

bibisect-win64-7.5

commit 81b2ee3d490cee69d68236b5e94cc43b27fbc161 (HEAD)	
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Aug 2 07:49:05 2022 -0700

    source a7d9837a8aa6d1233f4c21e4db5d32428a3ffc58

    source a7d9837a8aa6d1233f4c21e4db5d32428a3ffc58

 instdir/program/mswordlo.dll                     | Bin 2611200 -> 2611200 bytes
 instdir/program/setup.ini                        |   2 +-
 instdir/program/swlo.dll                         | Bin 17163264 -> 17163264 bytes
 instdir/program/swuilo.dll                       | Bin 2492416 -> 2492416 bytes
 instdir/program/version.ini                      |   2 +-
 instdir/program/writerfilterlo.dll               | Bin 2773504 -> 2773504 bytes
 instdir/share/config/images_breeze.zip           | Bin 1941393 -> 1941393 bytes
 instdir/share/config/images_breeze_dark.zip      | Bin 1938009 -> 1938009 bytes
 instdir/share/config/images_breeze_dark_svg.zip  | Bin 1604774 -> 1604774 bytes
 instdir/share/config/images_breeze_svg.zip       | Bin 1602358 -> 1602358 bytes
 instdir/share/config/images_colibre.zip          | Bin 2838635 -> 2838635 bytes
 instdir/share/config/images_colibre_dark.zip     | Bin 2738681 -> 2738681 bytes
 instdir/share/config/images_colibre_dark_svg.zip | Bin 2991854 -> 2991854 bytes
 instdir/share/config/images_colibre_svg.zip      | Bin 3186686 -> 3186686 bytes
 instdir/share/config/images_elementary.zip       | Bin 4255462 -> 4255462 bytes
 instdir/share/config/images_elementary_svg.zip   | Bin 5553504 -> 5553504 bytes
 instdir/share/config/images_karasa_jaga.zip      | Bin 4927343 -> 4927343 bytes
 instdir/share/config/images_karasa_jaga_svg.zip  | Bin 19378313 -> 19378313 bytes
 instdir/share/config/images_sifr.zip             | Bin 2154294 -> 2154294 bytes
 instdir/share/config/images_sifr_dark.zip        | Bin 2158713 -> 2158713 bytes
 instdir/share/config/images_sifr_dark_svg.zip    | Bin 1799464 -> 1799464 bytes
 instdir/share/config/images_sifr_svg.zip         | Bin 1795510 -> 1795510 bytes
 instdir/share/config/images_sukapura.zip         | Bin 3062464 -> 3062464 bytes
 instdir/share/config/images_sukapura_svg.zip     | Bin 4393664 -> 4393664 bytes
 24 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Buovjaga 2025-06-10 04:09:06 UTC
These open reports point to the same commit: bug 157245 and bug 153042