Bug 106288 - table calculations wrong when show track changes is on
Summary: table calculations wrong when show track changes is on
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-03 01:03 UTC by Phillip Brown
Modified: 2018-03-13 10:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example document showing problem (8.85 KB, application/vnd.oasis.opendocument.text)
2017-03-03 01:03 UTC, Phillip Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phillip Brown 2017-03-03 01:03:09 UTC
Created attachment 131589 [details]
example document showing problem

enter numeric data into a table
use 'sum' function to get total of data in cells
with track changes on and show track changes, delete value in one cell and replace with different value - both original value and new value are displayed in the cell
sum function uses both the deleted original and new value in its calculation, when it should only use the new value
Comment 1 Buovjaga 2017-03-05 19:24:08 UTC
Confirmed.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha0+
Build ID: ed0e8f970ff552e75222dc92ed2879aa3b3e5851
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 4th 2016

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2018-03-06 03:44:03 UTC Comment hidden (obsolete)
Comment 3 Phillip Brown 2018-03-06 05:04:35 UTC
Bug still exists

Version: 6.0.2.1 (x64)
Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU threads: 4; OS: Windows 6.1; UI render: default; 
Locale: en-AU (en_AU); Calc: group
Comment 4 Ascaf 2018-03-08 18:41:29 UTC
I noticed that in the file attached (table_sum.odt) numerical values in the first column (from A1 to A4) are formatted as text (the cell in the 5th row is of course formatted as number, since it contains a formula).
If we repeat the steps reported in Comment #1, but, after entering the numerical data into the table, we change the format of the 4 numbers in the first row from text to number, everything works as expected. (Or just check "Number recognition" in Option --> Libreof. Writrer --> Table)
Comment 5 Buovjaga 2018-03-13 10:51:10 UTC
(In reply to Ascaf from comment #4)
> I noticed that in the file attached (table_sum.odt) numerical values in the
> first column (from A1 to A4) are formatted as text (the cell in the 5th row
> is of course formatted as number, since it contains a formula).
> If we repeat the steps reported in Comment #1, but, after entering the
> numerical data into the table, we change the format of the 4 numbers in the
> first row from text to number, everything works as expected. (Or just check
> "Number recognition" in Option --> Libreof. Writrer --> Table)

Thanks, closing.