[Libreoffice-bugs] [Bug 121436] New: CALC editing: Shifting Cells when inserting a cut column breaks formulas after the cut column

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 15 09:20:05 UTC 2018


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

            Bug ID: 121436
           Summary: CALC editing: Shifting Cells when inserting a cut
                    column breaks formulas after the cut column
           Product: LibreOffice
           Version: 6.2.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu

Description:
When a whole column is cut from a spreadsheet and pasted into a different
column with the other cells shifted to the right, formulas that are located
right from the original location of the cut column break.

This bug needs specific circumstances to occur:
- The cells should be referenced without a function, so the bug only occurs
when the cells are referenced like =A1+B1+C1, but not when they are referenced
like =SUM(A1:C1);
- The bug doesn't occur either if a new column is inserted to the intended
location manually with the Insert Columns Left command and the content is
inserted into this newly created column;
- Another way to avoid the bug is to insert a new column to the intended
location manually with the Insert Columns Left command, then Undo it with
Ctrl+Z, and then insert the content with Paste Special – Shift Cells: Right.

Steps to Reproduce:
1. Add a number to the A1 cell
2. Add a number to the B1 cell
3. Add a formula to the C1 cell that references the A1 and B1 cells (e.g.:
=A1*B1)
4. Type in some text in the D1 cell
5. Reference the A1, B1 and C1 cells from the E1 cell (e.g.: =A1+B1+C1)
6. Click to the top of the D column to select the whole column and press Ctrl+X
7. Click on the B column and press Ctrl+Shift+V
8. In the Paste Special window select “Paste all” at Selection, and “Right” at
Shift Cells, then press OK.


Actual Results:
In the E1 cell the reference pointing to the B1 cell doesn't get updated to C1
breaking the formula.

Expected Results:
The reference in the E1 cell should be updated to the new location.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181115/b7dac7de/attachment-0001.html>


More information about the Libreoffice-bugs mailing list