Bug 114165 - Add an option allowing to disable Threaded Calculation in Calc
Summary: Add an option allowing to disable Threaded Calculation in Calc
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Threaded
  Show dependency treegraph
 
Reported: 2017-11-30 09:39 UTC by Kevin Suo
Modified: 2017-12-01 04:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2017-11-30 09:39:23 UTC
Multi-thread calculation is now supported in Calc. This feature is enabled by default. This is a good thing, but at some rare corner cases this feature may cause trouble because of bugs. For example, I can not go on with my work or further testing because of bug 114157.

Thus I suggest to add an option in Calc to let the user manually disable Threaded Calculation.
Comment 1 Aron Budea 2017-11-30 10:50:55 UTC
I assume the expert configuration item UseThreadedCalculationForFormulaGroups that was added in the commit enabling parallel calculation does that.
Comment 2 Kevin Suo 2017-11-30 11:18:14 UTC
Ok will check if it works
Comment 3 Kevin Suo 2017-12-01 01:49:30 UTC
You are correct. If I go to Tools - Options - LibreOffice - Advanced - Expert Configuration, then search for "Thread", then I see "UseThreadedCalculationForFormulaGroups" which is a bool option.

If I set this to False then restart, bug 114157 is gone.

Set is WORKSFORME.
Comment 4 Aron Budea 2017-12-01 04:06:16 UTC
Thanks for testing and verifying. Adjusting status to FIXED, since the commit introducing the option has been identified.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=5222910f969390c64c18866834d9af53e7c4c189
author		Tor Lillqvist <tml@collabora.com>	2017-10-04 12:40:20 +0300
committer	Dennis Francis <dennis.francis@collabora.co.uk>	2017-11-21 16:09:42 +0530

Make threaded calculation the default (when OpenCL is not used)