Bug 144265 - Relative referencing anomaly
Summary: Relative referencing anomaly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Add-Delete
  Show dependency treegraph
 
Reported: 2021-09-02 09:32 UTC by Elmar
Modified: 2025-05-20 03:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
before inserting rows (26.40 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-09-02 09:35 UTC, Elmar
Details
after inserting rows (23.80 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-09-02 09:35 UTC, Elmar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2021-09-02 09:32:05 UTC
Description:
When I add rows above a row, the first row that moved formula does not seem to be adjusted correctly.

Steps to Reproduce:
1.create or open a file with formulas
2.add rows above a row
3.

Actual Results:
in attachment 1 the formula in cell I6 is =IF(F6<>F5,F6&E6&I5,"")
after adding 3 rows the formula is        =IF(F9<>F5,F9&E9&I5,"")
the next row the formula is               =IF(F10<>F9,F10&E10&I9,"")


Expected Results:

It seems to me that F5 should have been F8 and I8, not remained as F5 and I5

Note that this happens in Calc v6.4 as well


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-GB
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: d5ade739771ddf06cc7ee6d4af15672bfcf09ed6
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-09-01_02:56:07
Calc: threaded
Comment 1 Elmar 2021-09-02 09:35:09 UTC
Created attachment 174724 [details]
before inserting rows
Comment 2 Elmar 2021-09-02 09:35:39 UTC
Created attachment 174725 [details]
after inserting rows
Comment 3 raal 2021-09-03 09:15:30 UTC
confirm with Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 34a9f93018804044b756e0e49c7ea759a65d3dc4
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 4 m_a_riosv 2021-09-05 11:08:54 UTC
Confirmed
Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL
Comment 5 ady 2023-05-20 02:37:07 UTC
Still repro with LO 7.6.alpha, but only in 1 specific row – the first one in the list. This indeed is a major issue IMHO, because of user expectations and because the behavior is not known nor easily notable by common users.
Comment 6 QA Administrators 2025-05-20 03:10:45 UTC
Dear Elmar,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug