Summary: | Extra heading number when recording changes and copying headings | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Ulrich Windl <u20230201> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ilmari.lauhakangas, miguelangelrv, u20230201 |
Priority: | medium | ||
Version: | 7.5.3.2 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Attachments: |
Appearance after having accepted all changes
Appearance after having clicked on the new number Sample document Document before change Document after change |
Description
Ulrich Windl
2023-10-17 09:07:09 UTC
Created attachment 190252 [details]
Appearance after having clicked on the new number
> I copied some text with numbered heading at the end of the text (as the structure would be similar).
In case it's not clear what I meant: I copied some text from the middle of the document to the end of the document, where further editing happened.
Another note: As the copying happened several weeks ago, I cannot exactly remember what I did. Also it's possible that the actual copying had been made with an older version of Writer. Actually I'm using LibreOfficeWriterPortable.exe. Please, can you attach a sample file with the issue before accept the changes. I'm not able to reproduce from scratch. Version: 7.5.8.1 (X86_64) / LibreOffice Community Build ID: a3cc32c5bcaabeae7ab60e12c44c40a7d8d36345 CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded When those number re-appeared I examined the XML for such an entry; it looks like this (line-breaks inserted for readability): <text:h text:style-name="P327" text:outline-level="5"> <text:soft-page-break/> <text:span text:style-name="Hostname"> <text:span text:style-name="T118">r</text:span> </text:span> <text:span text:style-name="Hostname">ksapv03</text:span> </text:h> The odd thing is the "style-break" after the first letter: When I marked the whole word and executed "remove direct formatting", the extra numbers also vanished. As can be seen from XML, they are not stored in the document, but "created on the fly". I'm unsure what caused the extra style break. Also: I'm not allowed to share the original document (in case one would ask for it). But here is style "T118": <style:style style:name="T118" style:family="text"> <style:text-properties fo:font-size="11.8999996185303pt" fo:font-weight="bold" style:font-size-asian="11.8999996185303pt" style:font-weight-asian="bold" style:font-size-complex="11.8999996185303pt" style:font-weight-complex="bold"/> </style:style> [Automated Action] NeedInfo-To-Unconfirmed Please recreate a minimal test case that you can share in public. Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the document. OK, re-start this: There are (at least) two problems with record changes inside numbered sections: 1) The color to show being used to show changes (blue) is different fro the color used to show other changes 2) The number shown as changed even when it did not I have a sample document and screen shots to demonstrate. Version used was: Version: 7.5.7.1 (x86) / LibreOffice Community Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL threaded Version 1 of the document is: 1 A 1.1 B 1.2 C Record changes is enabled, then a paragraph is inserted after "B" (Version 2 of the document) Changes incorrectly show "C" being "1.1" before the change (if I interpret the display correctly) Created attachment 192341 [details]
Sample document
Created attachment 192342 [details]
Document before change
Created attachment 192343 [details]
Document after change
|