See attached test case. Sum two rows: A1 + B1 = C1; A2 + B2 = C2 where B1 is blank. Cut B2 and paste into B1. Result C2 is decremented correctly by old B2 value; but result C1 is NOT incremented by new B1 value. Formula of C1 remains correct =SUM($Sheet1.A1:B1) as is C2's formula but C1 result is wrong. Saving file, close and re-open does not fix incorrect C1 result. Undo undo to return to initial state results in C2 now having incorrect result. Bug occurs whether drag and drop or control-x/control-v used. This is a data integrity issue as the wrong answer is being displayed.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libreoffice-calc 1:5.1.6~rc2-0ubuntu1~xenial2
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.9
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jul 17 17:33:42 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-05-08 (435 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)
Created attachment 146149
Sample ODS
- Open attached spreadsheet.
- Cut A1.
- Paste into A2 (overwrite existing data).
=> F2, which is the sum of A2:D2, isn't updated accordingly (should become 22 instead of 26).
Observed using LO 6.2.0.0.alpha1+ (313392119522c2 1a6ecd14403d6f9 2c948149df7) & 4.4.0.3 / Ubuntu 18.04.
No issue in LO 4.3.0.4.
=> regression
Bibisected to the following commit using repo bibisect-44max.
https:/ /cgit.freedeskt op.org/ libreoffice/ core/commit/ ?id=5ef856e975d 7c0396984d588a4 3fd1a7c7085c55
author Kohei Yoshida <email address hidden> 2014-11-18 21:03:05 -0500
committer Kohei Yoshida <email address hidden> 2014-11-18 21:03:50 -0500
Use group area listeners during ODS import.