Issue 10996 - Writer crashes on right click for spelling error
Summary: Writer crashes on right click for spelling error
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: Other Linux, all
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: khendricks
QA Contact: issues@sw
URL: http://users.bigpond.com/dnwilson/bug...
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-27 21:54 UTC by dnwilson
Modified: 2005-01-13 17:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Bug doc is now attached and not linked anymore (See URL field) (6.51 KB, application/octet-stream)
2003-03-19 20:02 UTC, eric.savary
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description dnwilson 2003-01-27 21:54:09 UTC
Reproduced as follows open document bug1.sxw, with auto-spelling check on click  
on the word BibTex with the red spelling error red line.  
  
The text is en_GB and the dictionary is en_GB latest version (I have just  
checked).  
  
The dictionaries were copied from the version 1.0.1 directory which did not  
have this problem.   
  
OO crashes with saving of the document and the unrecoverable error  
message.  
 
regards  
  
David Wilson
Comment 1 dnwilson 2003-02-10 00:02:22 UTC
I have resolved this by turning off the writing aids option 'check in 
all languages' and several of the user dictionaries. 
 
I have not yet tested the other foreign dictionaries one by one to 
find which one (if one is the problem) might be causing the problem. 
I have a slow computer so it takes some time to restart OOo after it 
crashes.  
 
 
 
 
Comment 2 dnwilson 2003-03-17 21:42:18 UTC
Eric, this is similar to some the other defects assigned to you. 
Comment 3 eric.savary 2003-03-19 20:02:59 UTC
Created attachment 5174 [details]
Bug doc is now attached and not linked anymore (See URL field)
Comment 4 khendricks 2003-03-19 20:39:27 UTC
Hi, 
 
I am taking ownership of this one since this is most probably a lingucomponent issue 
(hope that is okay with everyone) 
 
I think this bug is actually a known bug in 1.0.2 (now fixed in CVS) that happens when 
someone has two spell check dictionaries registered to the same locale. 
 
This typically happens when someone upgrades from the 1.0.1 or earlier versions to 1.0.2 
and ends up with two different "dictionary.lst" files: 
 
Typically if they look they find one in  
 
1. OpenOffice.org1.0.2/share/dict/ooo/ 
 
and the second one in  
 
2. $HOME/OpenOffice.org1.0.2/user/wordbook/ 
 
Typcially the user/wordbook/dictioanry.lst is left over from previous installs and lists the 
same DICT entry (probably under en_GB) in this case. 
 
There are also problems with some versions of en_GB.zip in that it installed an 
incomplete dictionary.lst file of its own (no THES entries at all). 
 
So the best solution is to do the following (assuming you have root access on your own 
machine). 
 
cd $HOME/OpenOffice.org1.0.2/user/wordbook/ 
mv dictionary.lst dictionary.lst.keep 
su root 
cp en_GB.aff /YOURPATHTO/OpenOffice.org1.0.2/share/dict/ooo/ 
cp en_GB.dic /YOURPATHTO/OpenOffice.org1.0.2/share/dict/ooo/ 
cd /YOURPATHYO/OpenOffice.org1.0.2/share/dict/ooo/ 
 
Edit the dictionary.lst file at /YOURPATHTO/OpenOffice.org1.0.2/share/dict/ooo/ 
to make it look like the following: 
 
DICT en US en_US 
HYPH en US hyph_en 
THES en US th_en_US 
DICT en GB en_GB 
HYPH en GB hyph_en 
THES en GB th_en_US 
 
This assumes you want to enable both en_US and en_GB dictioanries and  cross enable 
the en_US thesaurus and hyphenation for use under en GB. 
 
If you do not want the en_US at all simply remove the first 3 lines of the 6 lines given 
above. 
 
Please make sure the same dictionary is not registered under the same locale 
(this causes the bug). 
 
Now after all of this you should have only 1 dictionary.lst file and it should exist only in 
share/dict/ooo/ and all should be fine. 
 
Then restart OOo and Quickstarter to force it to re-read the 1 remaining dictionary.lst 
 
Please let us know if this fixes the problem. 
 
Thanks, 
 
Kevin 
 
Comment 5 khendricks 2003-05-28 16:16:02 UTC
Hi,

Resolving this as fixed in OOo 1.0.3 and also fixed in OOo 1.1 Beta 2

Kevin
Comment 6 stefan.baltzer 2005-01-13 17:44:33 UTC
SBA: Spellcheck context still works in OOo 1.1.4. I'll close this one.