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

            Bug ID: 158297
           Summary: Pasting unformatted text over existing values - an
                    empty line will not handle the last column value
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

[Description]
When I paste (Ctrl+Alt+Shift+V) over existing values, and the pasted values
have an empty line, the line is cleared, but not the last value of the line.

[How to test]
TabA below is the original table. TabB is a new changed version to be copied
over TabA (line a gone, line e added), TabC is the result after TabB was pasted
as unformatted Text over TabA. You can see in the empty line the last value
(b-3) is still present in the line that was supposed to be empty.

[Test sample "tables"]
TabA
Legend;1;2;3
a;a-1;a-2;a-3
b;b-1;b-2;b-3
empty;;;
d;d-1;d-2;d-3

TabB
Legend;1;2;3
b;b-1;b-2;b-3
empty;;;
d;d-1;d-2;d-3
e;e-1;e-2;e-3

TabC
Legend;1;2;3
b;b-1;b-2;b-3
empty;;;b-3
d;d-1;d-2;d-3
e;e-1;e-2;e-3

To test, paste TabA in a sheet, then paste TabB as unformatted text over it.
The empty line is not empty.

[Reproducible]
Always

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

Reply via email to