Bug 167309 - Underlining certain text part, shows substantial change in justified text distribution and undo doesn't restore the old situation
Summary: Underlining certain text part, shows substantial change in justified text dis...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
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:59 UTC by Telesto
Modified: 2025-08-12 15:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample (9.76 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-06-30 17:59 UTC, Telesto
Details
Screencast (78.76 KB, image/gif)
2025-06-30 18:00 UTC, Telesto
Details
Sample (9.80 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-07-05 18:48 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:59:17 UTC
Description:
Underlining certain text part, shows substantial change in justified text distribution and undo doesn't restore the old situation

Steps to Reproduce:
1. Open the attached file
2. Double (left) click "Ipsum" in the last line
3. Press CTRL+U (or underline button)
4. Notice the last line shrinking (substantially)
5. Press CTRL+Z. Not the text not expanding (as much)

Actual Results:
* The last line shrinking (substantially)
* Undo isn't restoring 

Expected Results:
No substantial shift in text distribution. Or at least is should be consistent (so Undo restoring the 'old' situation)


Reproducible: Always


User Profile Reset: No

Additional Info:
Found in
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

not 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
Comment 1 Telesto 2025-06-30 17:59:32 UTC
Created attachment 201570 [details]
Sample
Comment 2 Telesto 2025-06-30 18:00:32 UTC
Created attachment 201571 [details]
Screencast
Comment 3 wodsfort 2025-07-05 15:48:09 UTC
I tried this to latest alpha version,but can`t reproduce
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4a80f1443bf3d92eb293c74af25742db56247f04
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win

Calc: threaded
Comment 4 Telesto 2025-07-05 18:48:25 UTC
Created attachment 201673 [details]
Sample

Notice the , at last line being aligned with right border line.

You can see a different 'Justified' when when pressing Underline.
Comment 5 Takenori Yasuda 2025-07-06 01:36:13 UTC
Reproduced.
Version: 25.2.5.1 (X86_64) / LibreOffice Community
Build ID: 484541f705153d4ff78284873b0153c3e5a280db
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded

Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 09804b8a8b6dd41e2e17ab25f5ce6b6d90b14633
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded
Comment 6 Jussi Suominen 2025-07-29 14:25:48 UTC Comment hidden (obsolete)
Comment 7 Jussi Suominen 2025-07-29 14:27:51 UTC
Source hash of the first bad commit: 6b857398a59d16308d6185d01e003e401439f060

Bibisected with bibisect-win64-25.2