Bug 98627 - Spell check options on right click shows junk characters
Summary: Spell check options on right click shows junk characters
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Spell-Checking Dictionaries
  Show dependency treegraph
 
Reported: 2016-03-13 05:45 UTC by Shantanu
Modified: 2024-06-20 09:44 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
junk chars in spell check (163.20 KB, image/png)
2016-03-21 05:29 UTC, Shantanu
Details
new version has only HP on right click (128.05 KB, image/png)
2016-03-24 11:54 UTC, Shantanu
Details
The words like "HP" are still seen on right click spell check options (106.27 KB, image/png)
2019-07-07 05:13 UTC, Shantanu
Details
marathi word misspelled shows 2 letter english words as suggestion (8.83 KB, application/vnd.oasis.opendocument.text)
2019-08-09 12:51 UTC, Shantanu
Details
English spell check also showing junk / irrelevant suggestions (88.43 KB, image/png)
2019-08-09 12:59 UTC, Shantanu
Details
remove 2 letter words from .dic file (33.56 KB, image/png)
2024-05-26 05:48 UTC, Shantanu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shantanu 2016-03-13 05:45:09 UTC
I have developed Marathi spell check for Libre office. For some words the right click option shows funny characters as shown in the image here...

https://s3.amazonaws.com/loffice/spell_check.png

The first 4 options are correct. I do not know about the rest. I guess this is happening for very short (1 or 2 character) words.

I did not notice this before 5.1.0.3
Comment 1 Buovjaga 2016-03-13 16:09:05 UTC
Is the problem still in 5.1.1? Or you can also test with a master build: http://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/
Comment 2 Shantanu 2016-03-21 05:29:55 UTC
Created attachment 123752 [details]
junk chars in spell check
Comment 3 Buovjaga 2016-03-22 17:56:40 UTC
(In reply to shantanu from comment #2)
> Created attachment 123752 [details]
> junk chars in spell check

This is with 5.1.1?
Comment 4 Shantanu 2016-03-24 11:53:46 UTC
5.1.1.3 is the version I have tested. The 5.2 version has only "HP" word added to the right click as shown in the second attachment.
Comment 5 Shantanu 2016-03-24 11:54:19 UTC
Created attachment 123807 [details]
new version has only HP on right click
Comment 6 raal 2016-05-12 08:20:08 UTC
Hello Shantanu, 
it's a duplicate of bug 97179.

László, could you look at word HP in suggestions (see comment 4)? Thanks
Comment 7 Dieter 2017-06-28 07:05:16 UTC
(In reply to raal from comment #6)
> Hello Shantanu, 
> it's a duplicate of bug 97179.
> 
> László, could you look at word HP in suggestions (see comment 4)? Thanks

So if this bug is a duplicate of bug 97179, which has been fixed, is this bug still valid?
Comment 8 Xisco Faulí 2017-06-28 15:32:28 UTC Comment hidden (obsolete)
Comment 9 Shantanu 2017-07-08 10:07:35 UTC
The word "HP" is still there. Tested on Ubuntu - Libre office version 5.3.4.2
Comment 10 Xisco Faulí 2017-07-17 21:35:56 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2018-01-29 10:26:57 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2018-03-02 10:05:07 UTC Comment hidden (obsolete)
Comment 13 Shantanu 2019-07-07 05:11:43 UTC
The HP and other 2 letter options are still displayed on right click when I check for spelling of very short words. Screenshot attached. Tested on windows and libreoffice (6.2.4.2)
Comment 14 Shantanu 2019-07-07 05:13:15 UTC
Created attachment 152608 [details]
The words like "HP" are still seen on right click spell check options
Comment 15 Aron Budea 2019-07-07 23:47:15 UTC
Can you please upload a sample document with a few of such words?
Comment 16 Xisco Faulí 2019-08-09 11:33:27 UTC
(In reply to Aron Budea from comment #15)
> Can you please upload a sample document with a few of such words?

Setting to NEEDINFO
Comment 17 Shantanu 2019-08-09 12:51:14 UTC
Created attachment 153263 [details]
marathi word misspelled shows 2 letter english words as suggestion

Google search for "libre office marathi spell check" and install the extension before checking the words in this document.
Comment 18 Shantanu 2019-08-09 12:59:40 UTC
Created attachment 153264 [details]
English spell check also showing junk / irrelevant suggestions

type "mn" in English and you will get irrelevant spelling suggestions like AI, HP, Sun, UX, Xen on right click.
Checked using Version: 6.2.5.2 (x64)
CPU threads: 1; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Comment 19 Buovjaga 2019-08-09 13:30:45 UTC
(In reply to Shantanu from comment #18)
> Created attachment 153264 [details]
> English spell check also showing junk / irrelevant suggestions
> 
> type "mn" in English and you will get irrelevant spelling suggestions like
> AI, HP, Sun, UX, Xen on right click.
> Checked using Version: 6.2.5.2 (x64)
> CPU threads: 1; OS: Windows 10.0; UI render: default; VCL: win; 
> Locale: en-US (en_US); UI-Language: en-US

Yeah, I do get those.

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: 37fc9f51a8de11d40632e8cda17ccf1fa4b1f503
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 6 August 2019
Comment 20 QA Administrators 2023-08-26 03:17:59 UTC Comment hidden (obsolete)
Comment 21 Shantanu 2024-05-26 05:45:53 UTC
Reproduced.
I type "mn" (without quotes) and get irrelevant suggestions like AI, HP, LG, UI, UX 
Please remove them from .dic file so that those words will not show up as seen in the attachment.

Version: 24.2.1.2 (AARCH64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 2; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (C.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.1~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 22 Shantanu 2024-05-26 05:48:02 UTC
Created attachment 194357 [details]
remove 2 letter words from .dic file
Comment 23 Marco A.G.Pinto 2024-06-20 09:28:34 UTC
The correct solution is to limit the number of suggestions shown.

I believe this behaviour has been happening for years.
Comment 24 Shantanu 2024-06-20 09:44:35 UTC
The group of these five words appear for every two-letter misspelled word in any language:

AI, HP, LG, UI, UX

For example, type "pn" "tk" or "ln" and right-click. Isn't this behavior strange?

I do not think limiting the number of suggestions is going to help.