Apache OpenOffice (AOO) Bugzilla – Issue 81605
Thesaurus replaces period when cursor is AFTER period at end of sentence
Last modified: 2013-08-07 14:44:35 UTC
Instead of replacing the word, the thesaurus replaces the period at the end of the sentence with the synonym if the cursor was after the period. Reproduce like this (in English): Type "Timber.". Leave the cursor after the period. Press Ctrl-F7. Pick "Lumber" as replacement. You get: "TimberLumber"
Sorry for setting the type to PATCH, it was by accident.
Confirmed.
I was able to successfully reproduce this bug. My configuration: OS: Windows XP Home Edition 2002 SP2 Machine: AMD Sempron 3000+ (1.58 GHz, 1.18 GB RAM) OpenOffice: v2.3.1 Here is the sequence of steps: 1. Open new text document in OpenOffice Writer 2. Type 'Timber.' 3. Leave the cursor after the period. 4. Press Ctrl-F7 OR Go to 'Tools -> Language -> Thesaurus' 5. Thesaurus dialog pops up. In the "Synonym" text box select 'Lumber' as the replacement and click 'OK'. 6. The 'Timber.' is NOT replaced, but instead words 'TimberLumber' show up while we expect only 'Lumber' to show up. The workaround would be to select 'Timber.' with a mouse first and then press Ctrl-F7. This way 'Timber.' is successfully replaced with 'Lumber'. I did a follow up test where you type 'Timber ' (i.e. put a space instead of a period). Using the same sequence of steps as above, we get this 'Timber Lumber'. So the period at the end of 'Timber' is not really significan, it's just one of the ways to reproduce the bug. The replacement works perfectly if we have 'Timber' only.
Make sure that your 'Thesaurus' language is set to English, otherwise Ctrl-F7 would not work with 'Timber.' In order to set the language to English: 1. Go to 'Tools->Language->Thesaurus' 2. Click on 'Language' button 3. Select English in the opened menu and click OK