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

            Bug ID: 103994
           Summary: cut paste for xlsx source reference changes location
                    formula
           Product: LibreOffice
           Version: 5.1.4.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If a calc spreadsheet references a cell in an xlsx source file, when that
reference is cut and pasted to a new location in the same spreadsheet, the xlsx
source cell it refers to changes.



Steps to Reproduce:
1. Create an xlsx file with some numbers in it and save (source.xlsx). 
2. Create a new spreadsheet and at A1, reference (=) one of the cells filled in
the xlsx source, e.g., ='file:///home/user/Documents/source.xlsx'#$Sheet1.A1
3. Cut this cell and paste to a different location say, B1
4. The formula that is pasted is relative not absolute, e.g., 
='file:///home/user/Documents/source.xlsx'#$Sheet1.B1


Actual Results:  
The reference that has been cut and pasted has changed the source cell it links
to. In the reproducible example, cutting a reference from A1 and pasting to B1
changes the formula from pointing to A1 in the source sheet to B1 in the source
sheet. 

Expected Results:
Cut and Paste has always previously been absolute, not relative. Copy and paste
is expected to be relative not cut and paste.


Reproducible: Always

User Profile Reset: No

Additional Info:
Using ubuntu 16.04 on an hp2540p. Don't think that matters though.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101
Firefox/49.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to