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

            Bug ID: 166044
           Summary: When Japanese is set in the end of footnote, two page
                    numbers are inserted.
           Product: LibreOffice
           Version: 7.6.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If you set Latin letters at the end of the footnote, there will be one page
number, but if you set Japanese, two will be inserted.

Steps to Reproduce:
1.Open the attached file.

Actual Results:
Two page numbers will be inserted.

Expected Results:
A page number will be inserted.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
Skia/Vulkan; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a22f83249699b41317f2d6923878c369e0344598
CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster;
VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL threaded

bibisected with win64-7.6
commit  6c0105307efa15837e9e5287103995312f373b67
author  Michael Stahl <[email protected]>     Wed Mar 08 13:10:55
2023 +0100
sw: fix stale SwNumberPortion follow flag

Somehow a SwNumberPortion can be split into 2 SwNumberPortions and the
2nd one ends up with a '\t' character that is then removed from the
portion and via some HookChar thing converted to a SwTabLeftPortion.

To add further insult, the SwTabLeftPortion is inserted between the
first SwNumberPortion and the empty SwNumberPortion, and then
SwLineLayout::CalcLine() deletes the empty one but the first one still
has the m_bHasFollow flag set.

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

Reply via email to