Issue 119100 - extensions-installed dictionaries spell checking does not work
Summary: extensions-installed dictionaries spell checking does not work
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: spell checking (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: Andre
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 20:44 UTC by Simon Brouwer
Modified: 2017-05-20 10:02 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Simon Brouwer 2012-03-20 20:44:04 UTC
I found that spell checking does not work for languages where a dictionary is installed via extension.

I installed the latest OpenOffice.org 3.4.0 build for Windows (build 9588)

From the extensions manager, "get more extensions online", I got to http://extensions.services.openoffice.org where I downloaded the latest Dutch and Brazilian Portuguese dictionary extensions. After installing these I restarted all of AOO, including the quickstarter. In Writer, selected all text, used the Character Format dialog to set text to Dutch. The "abc" icon is shown next to the language name suggesting the dictionary is installed correctly. 

However, every Dutch word I then type is marked as incorrect. No suggestions are shown on right-clicking the words. I checked spell checking with Brazilian Portuguese as well and it does not work either.

But if I select a "bundled" language such as English, the spell checker works as expected. 

Since spell checking does work with e.g. English, the bug may be a simple error such as that the dictionaries coming with the extensions are placed somewhere else than the spell checker expects to find them.

I regard this as a blocker issue because spell checking is an important function and now for many languages it simply doesn't work.
Comment 1 Oliver-Rainer Wittmann 2012-03-21 10:34:32 UTC
@Simon:
First, I have a question:
The latest developer snapshots, rev. 1299571 found at https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots do not contain any "bundled" extensions. No dictionaries are available in these installation sets.
Thus, can you please have a look at the about dialog. There should be some text like "AOO340m1(Build:9588) - Rev. 1299571", if you have installed this latest developer snapshot.

I can not confirm this issue on my system (Windows 7):
- I have installed latest developer snapshot, rev. 1299571, the en-US one.
- Opening the extension manager shows no extension and also no dictionary extension.
- Spell-checking of English text in Writer does not work as excepted.
- I first installed a German dictionary extension found at http://extensions.services.openoffice.org/en/project/dict-de-DE_igerman98
- Restart the office.
- Spell-checking of German text in Writer works:
-- typing some misspelled German words, select all, change language to German via Format Character dialog -->  misspelled words are marked; context menu contains proposals for replacements.
OR
-- typing some misspelled German words, change language of "Default" Paragraph Style to German --> misspelled words are marked; context menu contains proposals for replacements.
- Then I installed a Dutch dictionary extension found at http://extensions.services.openoffice.org/en/project/dict-nl
- Restart the office.
- Spell-checking of Dutch text in Writer works:
-- copying some Dutch text from https://www.ictu.nl/archief/noiv.nl/, insert some typos, change language of the text to Dutch --> misspelled words are marked; context menu contains proposals for replacements.

I will make another test on a virtual Windows XP system.
Comment 2 Oliver-Rainer Wittmann 2012-03-21 11:39:39 UTC
I have finished my test with my virtual Windows XP system.
The initial setup of my Windows XP is:
- clean Windows XP installation in VirtualBox.
- installed released OOo 3.3.0 without any further changes.

Test steps:
- installation of latest developer snapshot, rev. 1299571
--> OOo 3.3.0 is updated to this version
- start of office
- extension manager shows installed en-US dictionary
- spell-checking of misspelled English text works in Writer
- installation of German and Dutch dictionary extensions - the ones which I also used on my previous test on Windows 7
- restart of office
- spell-checking of misspelled German and misspelled Dutch text works in Writer es excepted.

Thus, also in this setup I can not reproduce the described defect.
--> resolving this issue as irreproducile

Please reopen this issue, if you have further information how to reproduce this defect. Thx in advance.
Comment 3 Simon Brouwer 2012-03-21 18:09:21 UTC
Hi Oliver-Rainer, 

Thanks for looking at this issue. I hope we can find out why it doesn't work on my system. I don't believe there is that much special about it, and therefore the problem could exist for many more users. 

The software I downloaded has filename OOo_3.4.0_Win_x86_install_en-US_de_fr_it_es_ja_pt-BR_zh-CN_zh-TW_nl_hu_fi_ru.exe

and in the dialog box it says AOO340m1(build:9558) - Rev. 1299571

So that would be the same build as yours, except the multi-language one.

If I remember correctly I installed it "for all users". I did not explicitly upgrade OpenOffice.org 3.3 and I am not really sure if it had been installed on this system before.

My Windows is Dutch Windows 7 Home Premium 64-bits.

Where are the dictionaries from the extensions supposed to go? I found unzipped English, French and German .oxt's in subdirectories in  C:\Program Files (x86)\OpenOffice.org 3\share\uno_packages\cache\uno_packages but I did not find any trace of the Dutch and Br-PT dictionaries I installed.
Comment 4 Andre 2012-03-22 08:28:44 UTC
Hi Simon,

I can somewhat reproduce your problem, but am not sure if it has the same cause.

Here is what I did.

- Started a developer build of an english AOO.  This instance of AOO was *not* installed via the installer (so no integration into Windows 7.)
- Opened a new Write document.
- Opened the extension manager via Tools->Extension Manager...
- Clicked on the "Get more extensions online..." link.
- This opened a new web page that displayed the extension repository.
- Navigated to the dutch spelling and hypenation dictionary.
- Clicked on the green 'Get it!' button.
- After some redirects and some waiting a download box opens for the file 'nl-dict-v2.00g.oxt'.
- The "Open With OpenOffice.org 3.4 (default)" option was selected which I did *not* change.
- Clicked on OK


This starts, at least on my system, a new instance of AOO.  One that *was* previously installed via the installer and was integrated into Windows 7.
The result was, that the dictionary extensions was installed into another office, not the one that initiated the download.

The extensions is, of course, only accessible from the second office.
Comment 5 Simon Brouwer 2012-03-22 19:31:33 UTC
Hi Andre, 

I think your case must be something else, since in my case AOO installation does indicate that Dutch spell checking is installed; it however doesn't work.

Best regards
Simon
Comment 6 louqle 2012-03-23 05:54:00 UTC
I have clean install r1303653 on Windows 7 32-bit, and installed German/Dutch dictionaries via extensions, then run spellcheck, they work.

But I encountered another problem, English dictionaries are intalled by default with the base package..I can see them from extension managers once openoffice installed..

I tried twice:
1. removed all the English dictionaries extensions from extension managers 
2. uninstall openoffice. I checked there is no openoffice in C:\Program files
3. remove the user profile from  C:\Users\username\AppData\Roaming\OpenOffice.org
4. Reinstall openoffice
5. Launch openoffice and click Tools->extension managers

the same, the English dictionaris are there..
Comment 7 louqle 2012-03-23 08:56:12 UTC
I raised a bug 119112 for the English dictionary problem mentioned above
Comment 8 Simon Brouwer 2012-03-23 22:38:51 UTC
Hmmm...

I uninstalled OpenOffice.org and LibreOffice and deleted C:\Program Files (x86)\OpenOffice.org 3 and C:\Users\Simon\AppData\Roaming\OpenOffice.org 3

Then I installed the same build as before. 

There weren't any extensions shown in extensions manager. So I think the English, French and German ones had been inherited from a previous OpenOffice.org (3.3) installation.

Then I installed the Dutch spell checking extension. This time it worked as expected. 

So on a clean install it appears to work correctly. 

If a previous OpenOffice.org had been present there could be problems, but it could work without problem as well (according to Oliver-Rainer's test).
Comment 9 Li Feng Wang 2012-07-18 05:47:13 UTC
I also encounter this problem on my Windows and Redhat. Mac have no this problem. But I run some operations to solve this problem.

1)May need clean App Data like "C:\Documents and Settings\Administrator\Application Data\OpenOffice.org\3\user"
2)Need close all AOO files and restart AOO after install Germany dictionary extenion and configure Germany custom dictionary.
  This can trigger some operations about extension in restart.

with AOO341 branch r1359641
Comment 10 Andre 2012-07-18 07:17:52 UTC
Taking over.
Comment 11 Edwin Sharp 2014-02-28 11:16:55 UTC
Dutch words are recognized correctly with Dutch spelling 2.00g following official standards. 2.0.0 www.opentaal.org/english extension.
AOO410m14(Build:9760)  -  Rev. 1572807
Rev.1572807
Win 7