GNOME Bugzilla – Bug 618829
sum() - data table interaction
Last modified: 2010-05-18 00:42:34 UTC
Created attachment 161195 [details] Gnumeric spreadsheet example of reported bug A data table calculated on a sum() doesn't always calculate correctly. An example is attached. It shows three data tables; the first is calculated on a sum() of 24 cells and the result is correct. The second is calculated on a sum() of 25 cells and the table results are all the same (not correct.) The third is calculated on imsum() of the same 25 cells and is correct. Preliminary testing shows that if the sum() argument range is less than 24 cells the result will be correct, incorrect for 25 or greater. Gnumeric spreadsheet 1.10.1 running on Kubuntu 10.04 64 bit. Also happens in Windows XP running Gnumeric 1.10.2
Thre are strange things happening. Just clicking on one of the cells in data table 2, changes the value in that cell (and possibly some other cells in that table). A recalculate returns the table to the original values. Please describe in detail how you created those tables.
Given the observed behaviour with 24 vs. 25, I would take a guess that it's caused by the range caching: const int min_size = 25;
Probably fixed. This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.