Apache OpenOffice (AOO) Bugzilla – Issue 120610
Documents created from Windows shell context menu have language set to NONE, causing spell checking to fail
Last modified: 2021-10-03 09:05:34 UTC
Created attachment 78997 [details] Print Screen showing spell checker error not finding misspelled words. I have found that your spell checker is not working. I re-loaded and still not working. I looked to see if this was reported, but found no reports. I got a new computer and have used openoffice before so I am somewhat acquainted with the program. Can oyu please check to see if the spell checker is working or it is me?? (English Version) (actually any version) It seem to run but not work correctly. Thanks John Paul
Created attachment 79632 [details] Series of actions that could be reported as a potential failure of the spell checker
(In reply to comment #1) > Created attachment 79632 [details] > Series of actions that could be reported as a potential failure of the spell > checker Potentially related failure to bug 119302 at: https://issues.apache.org/ooo/show_bug.cgi?id=119302 System: Windows 7 Home Premium, 64-bit 4.00g Ram Open Office Suite: 3.4.1 r1372282 Language Used: English(USA) Test 1: (Pass) 1. Open an already made .odt file 2. File->New->Text Document 3. Observe English(USA) is the selected language 4. Type in "Hewwo Worldd test" 5. Observe "Hewwo" and "Worldd" are marked as misspelled 6. When Spell Checker (F7) is run, "Hewwo" and "Worldd" come up Test 2: (Pass) 1. Run Open Office Writer through Programs->OpenOffice.org 3.4.1->OpenOffice.org Writer 2. Observe English(USA) is the selected language 3. Type in "Hewwo Worldd test" 4. Observe "Hewwo" and "Worldd" are marked as misspelled 5. When Spell Checker (F7) is run, "Hewwo" and "Worldd" come up Test 3: (Potential Failure) 1. Create new OO text document through Windows context menu (Right-Click->New->OpenDocument Test) 2. Observe English(USA) is not the selected language, language is blank 3. Type in "Hewwo Worldd test" 4. Observe "Hewwo" and "Worldd" are not marked as misspelled 5. When Spell Checker (F7) is run, no misspelled words appear Test 3 can be made to work correctly by first changing the language of the document to English(USA).
(In reply to comment #2) > Potentially related failure to bug 119302 at: > https://issues.apache.org/ooo/show_bug.cgi?id=119302 This bug stays in a NEEDMOREINFO/CANNOTREPRODUCE state. > Test 3: (Potential Failure) > 1. Create new OO text document through Windows context menu > (Right-Click->New->OpenDocument Test) > 2. Observe English(USA) is not the selected language, language is blank > 3. Type in "Hewwo Worldd test" > 4. Observe "Hewwo" and "Worldd" are not marked as misspelled > 5. When Spell Checker (F7) is run, no misspelled words appear > > Test 3 can be made to work correctly by first changing the language of the > document to English(USA). but this bug is completely reproducible. I tested on WinXP. I'm not sure if John Paul is facing the same bug.
(In reply to comment #0) > Created attachment 78997 [details] > Print Screen showing spell checker error not finding misspelled words. > > I have found that your spell checker is not working. I re-loaded and still > not working. I looked to see if this was reported, but found no reports. > > I got a new computer and have used openoffice before so I am somewhat > acquainted with the program. > > Can oyu please check to see if the spell checker is working or it is me?? > > (English Version) (actually any version) Do you get this error by creating your documents in the way described in Comment 2 (Test 3), using the context menu on the file explorer? If not, and you also get this error by creating the documents using the File - New menu in OpenOffice, this can be a known bug with the English dictionaries; copy and paste from Bug 119302 dictionaries are extensions, so go to the menu "Tools" - "Extension Manager..." This will open a new window with the "Extension Manager". Select an extension from the list, and you'll see a button "Disable" and another one "Remove". Removing some extensions may require you have administrative privileges in your computer, so better try to disable the extensions by pressing the "Disable" button. Disable all English dictionary extensions, leaving only the one you can see in the screen shot: it says "English spelling and hyphenation dictionaries and thesaurus 2010.03.16" You must restart Apache OpenOffice (close also the Quickstarter icon on the system tray), and spelling should work.
I replicate Knowles' report exactly. Windows 7 AOO version AOO340m1(build 9590). Create a new document from the windows context menu (right-click on the desktop, select New, select create a new OpenDocument Text --> OOo comes up but its spellchecker is not working. Alternatively, if I open OOo by directly opening the program or by loading an existing file, the spell-checker works fine. This is not a difficult bug to reproduce -- as long as you open OOo from the Windows context menu rather than from a list of programs or from an existing file. The original report did not provide replication steps and so it is impossible to perfectly "reproduce" the original report. However, the final failure reported in the replication is identical to the failure displayed in the original report. I think we should treat this as a replicated problem.
(In reply to comment #5) > This is not a difficult bug to reproduce -- as long as you open OOo from the > Windows context menu rather than from a list of programs or from an existing > file. The problem is reproducible, and the root cause is that these document are used when you create a new document from the Windows shell context menu: https://svn-master.apache.org/repos/asf/incubator/ooo/trunk/main/extras/source/shellnew/ As you can see, the language is set to NONE > The original report did not provide replication steps and so it is > impossible to perfectly "reproduce" the original report. However, the final > failure reported in the replication is identical to the failure displayed in > the original report. I think we should treat this as a replicated problem. I'll wait for John Paul comment on the issue, to see if his issue is the same as this one, or something different. If yes, this bug can be confirmed and the subject changed to reflect the real bug. If not, a new bug can be opened. Added NEEDMOREINFO keyword
I just looked at the document that Ariel gave the link to and what appears to be happening is that the document has the default language in Tools>Options>Languages Settings>Languages set to German. If I look at the default paragraph stlye font tab the dictionary is set to none. That would make sense since I have no German Dictionary on my system.
There are two workarounds to solve the issue with the Windows Shell templates: - if you modify OpenOffice default template, the respective Windows Shell template will be modified - you can create a new document, set the language you want, and replace the templates. They are stored in the following places: Windows XP: C:\Templates C:\Document and Settings\All Users\Templates C:\Document and Settings\your_user_name\Templates Note: "Templates" might be localized, for example "Plantillas" in the Spanish user interface. You will need privileges to modify system wide templates Windows 7: C:\ProgramData\Microsoft\Windows\Templates C:\Users\your_user_name\AppData\Roaming\Microsoft\Windows\Templates All templates are named: soffice.odg - Drawing document soffice.odp - Presentation document soffice.ods - Spreadsheet document soffice.odt - Text document
I'm confused. Are you suggesting a temporary fix until the next build or a workaround recommended for those users who run into the bug, realize to look for a workaround on your site, figure out how to search for the workaround, and then figure out how to apply it?
(In reply to comment #9) > I'm confused. Are you suggesting a temporary fix until the next build or a > workaround recommended for those users who run into the bug, realize to look > for a workaround on your site, figure out how to search for the workaround, > and then figure out how to apply it? I'm just saying than until this gets fixed, there is a workaround that anyone interested in having the issue solved right now can apply. To get this fixed: - someone has to find the proper solution - a developer has to apply it - it has to be tested on developer snapshots - then it be integrated in a release (this is the lifetime of a bug, with several steps in between) That said, I have no idea which could be the solution for this bug. An example: - these templates are installed by a custom action during the installation - one may think that we should localize this templates: set the default language to the language of the installer; that way, if you install the German version, you get templates with German language set Problem: a German user may install first the English (US) version, and then install the German language pack. With the above solution, the user will en-US templates in ShellNew menu. This isn't optimal.
Confirming per Ariel's comments.
*** Issue 123282 has been marked as a duplicate of this issue. ***
Only for the sake of completeness: all WIN affected, and not limited to Writer
Created attachment 81566 [details] Screenhot Additional info: ----------------- This seems not to be an insuperable problem, for example SoftMaker FreeOffice selects the "Default Language" for documents newly created on Desktop or in files Explorer
*** Issue 119103 has been marked as a duplicate of this issue. ***
*** Issue 124350 has been marked as a duplicate of this issue. ***
*** Issue 123726 has been marked as a duplicate of this issue. ***
"Documents created from Windows shell context menu have language set to NONE, causing spell checking to fail" I ran into the same problem and via that route landed up here. I managed to work out how to do a workaround for this and have posted it here as poster "LastUnicorn": https://forum.openoffice.org/en/forum/viewtopic.php?f=15&t=85630 That said this is a devil of an issue and should really be fixed. The default install of OpenOffice should make it possible to right-click, create a new document, and have it open in Writer with the language already correctly set. P.S. I'm a fairly new user of OpenOffice, like it a lot, good office suite.
At the moment I see no possibility to create a document depending on the language of the host system. But we could change the template from [None] to en-US here: https://svn.apache.org/repos/asf/openoffice/trunk/main/extras/source/shellnew/ This way at least en-US would be set as default language.
With the new release this bug has resurfaced! I installed 4.1.6 and spelling checker language is set to blank. It prompts with a popup in tzhze popup to ask, if it should start from the beginning, no matter if the answer is yes or no, it closes all popups extras / spelling The bug is not only present, when opening the file via explorer, it is always there. As a hint where it could be caused: when I uninstalled the new version and returned to 4.1.1 The bug was still there! Is it a registry entry (?) or something else, which survived deinstallation /new installation without system restart? In settings/ languages /linguistic (I use the German version, so apologize, if the backtranslated labels are not precise) the section 'options' is greyed out. Manually making changes to various languages related setting hoping through some codepath it would repair itself did not succeed. regards, Dietmar Hildebrand
Dear developers, the deinstallation not only leaves entries in the registry, it also leaves the complete AppData\Roaming\OpenOffice behind. No wonder that it does not matter which release I try, the bug remains ! As I mentioned before I tried exercising different code pathes and had set my languiage to German(Austria) and was very surprised to find that after deinstallation/system restart/ installation still present. So I looked around for the stuff that was not cleaned up properly. I deleted the AppData\Roaming\OpenOffice directories of all users, but did not dare to manually delete all registry entries. The I installed 4.1.1, which works just fine on my other Laptop. BUT the bug is still there. Now I need your HELP !!! Any workaround or manual registry modification or whatever... regards, Dietmar Hildebrand
Please ignore comment 20 and 21, they are not related to this issue. The user had problems with his OpenOffice profile.
*** Issue 128084 has been marked as a duplicate of this issue. ***