Issue 116409 - Calc UI freeze then languagetool is installed
Summary: Calc UI freeze then languagetool is installed
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOo 3.3 RC8
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: 3.4.1
Assignee: jsc
QA Contact: issues@sc
URL: http://sourceforge.net/tracker/?func=...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 16:26 UTC by yak777
Modified: 2012-07-25 09:28 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 3.4.1_release_blocker+


Attachments
fix for the problem - I agree to publish this under the Apache License 2.0 or later (962 bytes, patch)
2012-05-26 09:27 UTC, misc2006
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description yak777 2011-01-11 16:26:59 UTC
Calc User Interface  (dialog window "Format Cells" "Font" tab)  freeze then
languagetool  (http:\\www.languagetool.org) is installed.


To reproduce
1. Close OOo completely
2. Open new Calc document
3. Right click on the cell A1 and go to the "Format Cells..." menu.
4. click the "Font" tab.
5. OOo Freeze 10 seconds
This problem exist also in OOo 3.0.1
http://sourceforge.net/tracker/?func=detail&atid=655717&aid=3153545&group_id=110216
Comment 1 misc2006 2012-05-20 18:31:28 UTC
I have debugged this in LibreOffice and found the solution which should also apply to Apache OO. In a nutshell, comment out "delete pAvailGrammarSvcs; pAvailGrammarSvcs = 0;" in lngsvcmgr.cxx. This line disables the cache and thus causes Java-related code to be called hundreds of times.

More details are at
https://bugs.freedesktop.org/show_bug.cgi?id=35270

This does not only affect calc BTW.
Comment 2 misc2006 2012-05-26 09:27:54 UTC
Created attachment 77605 [details]
fix for the problem - I agree to publish this under the Apache License 2.0 or later
Comment 3 jsc 2012-05-31 09:56:50 UTC
set release blocker flag for 3.4.1
Comment 4 jsc 2012-06-07 08:48:48 UTC
patch reviewed, built and tested 

AOO34 -> revision 1347535
Comment 5 jsc 2012-06-07 09:27:06 UTC
merged on trunk -> revision 1347551
Comment 6 Terry Yang 2012-06-19 02:49:50 UTC
Verify fixed on Trunk rev.1351249
After Install the LT, follow the reproduce steps, the issue not repro.
Suggest close this bug.
Comment 7 Terry Yang 2012-06-26 05:48:38 UTC
Verify fixed on AOO 3.4.1 DEV snapshot  1351960
Suggest close this defect
Comment 8 jsc 2012-07-25 09:28:09 UTC
set target milestone AOO 3.4.1