https://bugs.documentfoundation.org/show_bug.cgi?id=167542

            Bug ID: 167542
           Summary: Reset Move Line setting of Paragraph TextFlow works
                    not properly
           Product: LibreOffice
           Version: 25.8.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 201836
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201836&action=edit
Test document to reproduce the behavior

When in Settings for Paragraph - Text Flow at "Hyphenation across" "Spread" is
not set and instead "Move Line" is set, it looks good first, means the line
with hyphenated word ist moved to the next page. 
But when after this "Move Line" is reset (manually or by Undo) this line
returns to the origin page but the last word not hyphenated before is
hyphenated now as if "Spread" is set.

Reproduce the behavior:
- open the attached test document "Problem_hyphenate_undo_V2.odt"
- click into the paragraph starting on the end of page 3 and continued on page
4 (or select this text)
- the first word on page 4 ("unterschiedliche") could be hyphenated but isn't
because of the settings
- Check settings: right click -> Paragraph -> Paragraph -> Tab "Text Flow":
"Spread" is not set and also not "Move Line"
- Change setting "Move Line" (set it "on") and close the dialog
- Result: "unterschiedliche" is hyphenated now and the line is moved to page 4
(behavior as it was until LO until 25.2) -> OK
- open Paragraph settings dialog and change setting "Move Line" (reset it to
"off") and close the dialog
- Result: the line is moved back to page 3 (OK) but "unterschiedliche" is still
hyphenated although the setting "Spread" (off) requires not to hyphenate
(wrong!)
- Check settings: "Spread" is not set and also not "Move Line"

I have bisected the behavior, result:
614315146df270d01a3a406ba857b966adc69b6e is the first bad commit
commit 614315146df270d01a3a406ba857b966adc69b6e
Author: Norbert Thiebaud <[email protected]>
Date:   Sat Mar 22 11:18:53 2025 -0700

    source sha:c0a8ba8066c95b2bf80fe4b74288dfd3f6931808

    source sha:c0a8ba8066c95b2bf80fe4b74288dfd3f6931808

 instdir/program/setup.ini        |   2 +-
 instdir/program/version.ini      |   2 +-
 instdir/share/gallery/sounds.sdg | Bin 18043 -> 18043 bytes
 instdir/share/gallery/sounds.thm | Bin 1457 -> 1457 bytes
 4 files changed, 2 insertions(+), 2 deletions(-)

Maybe the behavior is caused by the following change (introduces Move Line
option, when I'm not wrong):
e499c8d tdf#165354 sw HyphenationKeepLine: apply it on the sidebar by László
Németh

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to