Bug 148619 - Cell reference in formula don't update on all sheets when moving cells on multiple sheets in specific ODS
Summary: Cell reference in formula don't update on all sheets when moving cells on mul...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Management
  Show dependency treegraph
 
Reported: 2022-04-15 23:50 UTC by Gauthier
Modified: 2023-04-22 19:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
broken sheet (1.08 MB, application/vnd.oasis.opendocument.spreadsheet)
2022-04-15 23:50 UTC, Gauthier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gauthier 2022-04-15 23:50:50 UTC
Created attachment 179600 [details]
broken sheet

I have attached and example spreadsheet but first I am going to describe what I am trying to do and what the problem is.

Say you have 4 sheets with exactly same content on Sheet 1, 2, 3.

On those 3 sheets the cell A1 contains the formula: =B5*C5

If I select sheet 1,2,3, cut cell C5 and past it say in E7, the content of the cell does move in all three sheets from C5 to E7 and the formula in A1 becomes =B5*E7 also in all three sheets and so I get the right result. This is the expected behaviour and if you open a blank spreadsheet and try that simple case it just works.

However in the attached spreadsheet (test_broken.ods), this does not work. If I select the 4 Project sheets (Project 1 to 4) and cut for example the cell W13 anywhere, say in V88, the formula in cell N9 which references W13 only updates in the Project 1 sheet but does not in the others.
Similarly if you insert a column / row on the four sheets simultaneous, formula affected by the shift only update on one sheet and not on the others.
Comment 1 Gauthier 2022-04-15 23:51:59 UTC
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-39-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

Version: 7.3.2.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 1:7.3.2~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 2 Timur 2022-08-03 07:32:25 UTC
I confirm the report. Since this is specific file, I set Low.
Also copy to multiple sheets copies only formats and not content to other sheets. 
Until explained differently, I set New.
Comment 3 BogdanB 2023-04-22 19:35:04 UTC
https://bugs.documentfoundation.org/show_bug.cgi?id=122987 seems similar