https://bugs.documentfoundation.org/show_bug.cgi?id=171036
Bug ID: 171036
Summary: Regression in Compare Document: # characters removed
and Heading style applied on deleted/strikethrough
lines when comparing .txt files
Product: LibreOffice
Version: 26.2.0.3 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
Since upgrading from LibreOffice 25.8 to 26.2.0.3, the Compare Document feature
corrupts lines marked as deleted (strikethrough) in plain .txt files.
The issue occurs specifically on lines that are present in the original file
but removed in the new version — i.e. lines shown as deleted/strikethrough
during comparison.
When those deleted lines start with # followed by text, such as Linux kernel
config lines:
# CONFIG_USB_USBNET is not set
LibreOffice now:
- Removes the leading # character on the deleted/strikethrough line
- Applies a Heading paragraph style to that line, making it appear in large
bold text instead of plain strikethrough text
Lines that are unchanged or added are not affected. Only deleted lines starting
with # are corrupted.
This worked correctly in LibreOffice 25.8 with identical files. All AutoCorrect
options have been disabled (Tools > AutoCorrect Options > Options, all boxes
unchecked) but the problem persists.
--- Steps to Reproduce ---
1. Create two plain .txt files containing lines starting with # (e.g. Linux
kernel .config files)
Example line: # CONFIG_USB_USBNET is not set
2. In the second file, remove one or more of those # lines
3. Open the first (original) file in LibreOffice Writer
4. Use Edit > Track Changes > Compare Document and select the second file
--- Actual Result ---
The deleted lines (shown as strikethrough) that started with # have the #
removed and are rendered with a large Heading style instead of plain
strikethrough text. The content and formatting of the deleted lines is
corrupted.
--- Expected Result ---
Deleted lines starting with # should be shown as plain strikethrough text,
preserving the # character and the default plain text style, as was the case in
LibreOffice 25.8.
--- Additional Info ---
Build ID: afbbd0df0edb6d40b450b0337ac646b0913a760c
CPU threads: 4
Locale: en-US (en_US.UTF-8)
Calc: threaded
Regression: works correctly in LibreOffice 25.8
Steps to Reproduce:
1. open 32.config
2. compare with 64.config or other kernel config text brut csv .txt
3.
Actual Results:
every stroken # disapear and police become huge
Expected Results:
compare utf text without formating since old and new file are *.txt
Reproducible: Always
User Profile Reset: Yes
Additional Info:
I have disable every case of autocorect but this bug still occure
--
You are receiving this mail because:
You are the assignee for the bug.