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

            Bug ID: 165993
           Summary: EDITING: The compare document feature marks the whole
                    line as "changed" when replacing the new line (enter)
                    with the line break (shift+enter)
           Product: LibreOffice
           Version: 25.2.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 200112
  --> https://bugs.documentfoundation.org/attachment.cgi?id=200112&action=edit
LO and MSO comparison of compare documents

This is a confirmation of the bug from madhavkiran who submitted the bug report
at https://bugs.documentfoundation.org/show_bug.cgi?id=164413
I am submitting a new bug report as the old one is not descriptive enough and
to avoid confusion when reading from the beginning as there have been
discussions unrelated to the issue.



Description:
The compare documents marks the whole line as "changed" when replacing the new
line (enter) with the line break (shift+enter).
I include the comparison between LO and MSO using the Compare documents feature 


Steps to reproduce:
1. Open modified_compare.odt
2. Edit->TrackChanges->Compare Documents
3. Choose original_compare.odt and click OK


Actual Results:
Case 1:
The line break was made before the end of the line -> works as intended

Case 2:
The new line (enter) was deleted and a break line (shift+enter) has been added. 
-> The break line along with the next line has been marked as being "pasted"
and the next line with the new line has been marked as "cut".

Case 3:
The new line (enter) was deleted and a break line (shift+enter) has been added.
In the line that follows the line break, a word has been added "modified"
-> the line break and the following line have been marked as "added", and the
following line along with the "new line" have been marked as "deleted"



Expected Results:
As it is shown in Word,

Case 2:
Mark the line break as "added" and the new line as "deleted"

Case 3:
Mark the line break as "added" and the new line as "deleted"
Mark "modified " as "added"


Reproducible: Always


Tested in safe mode


Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded


Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d986127690cf6b61e8973ee37e009a1f0dbbc9ca
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded


Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 2; OS: Windows 11 X86_64 (10.0 build 22621); UI render:
Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

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

Reply via email to