[Libreoffice-bugs] [Bug 137248] Calc - AutoCalculate malfunction, always F9 (ReCalculate) necessary

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 6 20:35:21 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137248

--- Comment #9 from Telesto <telesto at surfxs.nl> ---
Created attachment 166136
  --> https://bugs.documentfoundation.org/attachment.cgi?id=166136&action=edit
Bibisect log

Bisected to:
author  Luboš Luňák <l.lunak at collabora.com>     2020-09-04 15:51:07 +0200
committer       Luboš Luňák <l.lunak at collabora.com>     2020-09-10 11:15:47
+0200
commit  4f36f2ccab6286ec09480caea602c0fa19195736 (patch)
tree    0d3156c2f322983fa30d3a6f4600be5102e2718e
parent  3f620e74aa00e34f773d97e9480a6532d9e8863e (diff)
detect if a cell still needs interpreting after Interpret()
https://bugs.documentfoundation.org/attachment.cgi?id=51878
after hard-recalc asserts because of not having cell dependencies
non-dirty for threaded calculation. This is because Interpret()
actually sometimes returns without computing a value for the cell,
e.g. when it backs out because of a need to do iteration.
This is handled when Interpret() is called from InterpretTail(),
but ScDependantsCalculator does not handle this and considers
all cells interpreted, unless it detected a problem.
We've already fixed a number of such bugs, and given that there
are still problematic corner cases after all this time, add code
simply detecting this generic problem and avoiding threading
in that case, with a SAL_WARN. This does not fix the problem
itself, but at least now it's handled.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=4f36f2ccab6286ec09480caea602c0fa19195736

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201006/818fe8f4/attachment.htm>


More information about the Libreoffice-bugs mailing list