Bug 150520

Summary: Add to dictionary does not work from context menu
Product: LibreOffice Reporter: Marcin Segit <seji>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bruenkel.w, raal
Priority: medium    
Version: 7.4.0.3 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Marcin Segit 2022-08-20 16:31:04 UTC
Description:
"Add to dictionary" feature does not work when launched from a right-click context menu. Words are not added to a dictionary. I tried with a new and existing one on a fresh LO 7.4 installation.

One can add a new word after launching a full spellchecker and selecting "Add to dictionary" there so the functionality is there, but the context menu is broken.

Steps to Reproduce:
1. Launch Writer
2. Write a word that is not in a dictionary (type any random number of letters)
3. Right-click on the word and select "Add to dictionary"

Actual Results:
The word is not added to a dictionary. Does not appear in a dictionary file and is still not being recognized by the spellchecker.

Expected Results:
The word is added to a dictionary and is recognized by the spellchecker.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: CL

My guess is that this might be somehow connected to the Synonyms feature - that is, in general some language context-menu launched functions are broken.
Comment 1 Julien Nabet 2022-08-20 17:00:27 UTC
On pc Debian x86-64 with master sources updated today, I don't even have the "Add to dictionary" entry :-(
Comment 2 Marcin Segit 2022-09-04 17:41:45 UTC
I've checked the latest builds and it appears that this has been fixes. Works in both LO 7.4.2 (build from 3-Sep-2022) and LO 7.5.0 (build from 4-Sep-2022).
Comment 3 Amirtharaj 2022-09-11 06:24:33 UTC
  
Steps to Reproduce:
1. Launch Writer
2. Write a word that is not in a dictionary (type any random number of letters)
3. Right-click on the word and select "Add to dictionary"
4. Go to the Tools Option Click Spelling
 
    Version - (LibreOfficeDEv-7.4.0.0.alpha0_2022-01-23-x86_64.)


                  Resloved
Comment 4 Bharathi Priya P 2022-09-11 08:20:03 UTC
            NOT TO REPRODUCED


Steps:
1. Launch Writer
2. Write a word that is not in a dictionary (type any random number of letters)
3. Right-click on the word and select "Add to dictionary"
4. Go to the Tools Option Click Spelling
 
    Version - (LibreOfficeDEv-7.4.0.0.alpha0_2022-01-23-x86_64.) linux Mint 18.0
Comment 5 raal 2022-09-17 20:25:19 UTC
Works in Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: e46f9cc4b506c325cbe1060777bbc81fd1630f49
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded