Bug 167308 - Applying DF to certain text part, moves the word to new line. Save and reload and position being different
Summary: Applying DF to certain text part, moves the word to new line. Save and reload...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Smart-Justify
  Show dependency treegraph
 
Reported: 2025-06-30 17:44 UTC by Telesto
Modified: 2025-08-12 18:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample (10.57 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-06-30 17:45 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2025-06-30 17:44:24 UTC
Description:
Applying DF to certain text part, moves the word to new line. Save and reload and position being different

Steps to Reproduce:
1. Open the attached file
2. Select the yellow marked text
3. Press Underline -> Text moves to next line
4. File -> Save
5. File -> Reload. Word back to previous position (as in step 1)

Actual Results:
Layout change between editing and file -> reload

Expected Results:
WYSIWYG


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6faa7e6f7bae3e6a613b4f4b7cee4a9c6d2b7aae
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-06-30 17:45:11 UTC
Created attachment 201569 [details]
Sample
Comment 2 Telesto 2025-06-30 17:48:50 UTC
Also in
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7afd11f8e476884662c18db85445752cc030b2e2
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 threaded

not in
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cf07373d84b0ad6d0110b62966705b3e101785b5
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 threaded
Comment 3 m_a_riosv 2025-06-30 21:45:12 UTC
Reproducible
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e7201fd7c51743cb103bae82263d98830f5174cf
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-US
Calc: CL threaded
Comment 4 m_a_riosv 2025-06-30 21:48:02 UTC
BTW, the same goes for ODT or DOCX.
Comment 5 Jussi Suominen 2025-08-12 10:09:50 UTC
Unable to reproduce this bug in

Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: fi-FI (fi_FI); UI: en-GB
Calc: CL threaded

However, I can confirm that it is present in

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 04bd455e36b054001e08a0a3256d508a009ffef3
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: fi-FI (fi_FI); UI: en-GB
Calc: CL threaded
Comment 6 Jussi Suominen 2025-08-12 10:32:15 UTC
Bibisected with bibisect repository bibisect-win64-26.2. Results:
 e829cfbddb9b520ee9734c1cea9dd3491768398c is the first bad commit
commit e829cfbddb9b520ee9734c1cea9dd3491768398c
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Mon Jun 30 14:01:50 2025 -0700

    source 529755f0919217a84a12daad0fddfddd1124f0e9

    source 529755f0919217a84a12daad0fddfddd1124f0e9

 instdir/program/setup.ini             |   2 +-
 instdir/program/sw_writerfilterlo.dll | Bin 2996736 -> 2997248 bytes
 instdir/program/swlo.dll              | Bin 18223616 -> 18225152 bytes
 instdir/program/version.ini           |   2 +-
 4 files changed, 2 insertions(+), 2 deletions(-)
Comment 7 Buovjaga 2025-08-12 15:08:32 UTC
(In reply to Jussi Suominen from comment #6)
> Bibisected with bibisect repository bibisect-win64-26.2. Results:
>  e829cfbddb9b520ee9734c1cea9dd3491768398c is the first bad commit
> commit e829cfbddb9b520ee9734c1cea9dd3491768398c
> Author: Norbert Thiebaud <nthiebaud@gmail.com>
> Date:   Mon Jun 30 14:01:50 2025 -0700
> 
>     source 529755f0919217a84a12daad0fddfddd1124f0e9

That commit fixes a bug appearing in version 24.8, so I guess we can repurpose this to be about it.