Bug 152441 - LANGUAGE SETTINGS: An option for minimum length of words to add to writing aids
Summary: LANGUAGE SETTINGS: An option for minimum length of words to add to writing aids
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Keywords: needsUXEval
Depends on:
Blocks: Spell-Checking Options-Dialog-Language
  Show dependency treegraph
Reported: 2022-12-09 17:33 UTC by rferraro
Modified: 2023-01-19 08:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description rferraro 2022-12-09 17:33:46 UTC
It would be nice to have an option in Options=>writing aids=>options that lets you specify the minimum length of words to ignore. When working with a lot of equations (text based ones) with a variable and a subscript (that's a 2 letter word) that gets marked as incorrect spelling. It would be nice to have the spell check ignore these so that they don't have to be added to dictionary. Another example would be a short equation such as "mgh" (potential energy). If I could ignore words with less then 4 characters then both options would be ignored by the spellchecker and much more convenient to work with. I understand you have the option for check words with numbers and that is very convenient. The requested feature is simply a further extension of the intent of that option.

Actual Results:
See above

Expected Results:
See above

Reproducible: Always

User Profile Reset: No

Additional Info:
See above
Comment 1 Dieter 2022-12-24 12:50:16 UTC
Rferraro, thank you for the report, but I couldn't find Options -> Writing Aids -> Options, but only Tools -> Options -> LibreOffice  Writer -> Formatting Aids. Perhaps you think of Tools -> Spelling -> Options -> Options. So could you please check this?
Comment 2 rferraro 2022-12-25 12:18:00 UTC
Tools=>Options=Language Settings=>Writing Aids=>Options

You will find a checkbox to Check Words With Numbers. This would be the place to add the requested feature.
Comment 3 QA Administrators 2022-12-26 03:17:29 UTC Comment hidden (noise)
Comment 4 Dieter 2022-12-26 18:06:18 UTC
Thank you for clarification. So let's ask design-team for input and decision. Personally I don't think the feature would be a good idea, because you can never be sure, that you don't misspell a word of two or three characters.
Actually you don't have to add word to dictionary, but you can choose "Ignre all" in spell checking dialog.
Comment 5 rferraro 2022-12-27 15:57:44 UTC
Yes, but the problem with ignore all is that it resets each time you do a new spell check (at least that has been my experience). I would gladly use the ignore all if it stuck and ignored that word on all subsequent spell checks of that document. Of course, it is not a problem with a short document but on a large document that takes a lot of time over many months you will have to hit ignore all many times on the same word. Another option to deal with this problem would be on right click to give the option to specifically add that word to an exclusion list. Would that be possible?
Comment 6 Heiko Tietze 2023-01-05 10:59:12 UTC
You could switch the language to None and all spell-checking is gone. Perhaps not document wide but via character style on the actual word.

The context menu for unknown words provides quick access to Ignore and Add to Dictionary. Adding the unknown "mgh" as a valid word is to me the same as adding it to a special "exclude" dictionary.

Admittedly it would be nice if one could switch easily between dictionaries. There are some requests in this direction.

Does this help?
Comment 7 Heiko Tietze 2023-01-19 08:30:05 UTC
We discussed the topic in the design meeting. The proposed minimum length is not working ("teh" is a short word often with this typo). And the spell-checking has enough room to deal with special situations (Ignore is one, switching to None as language another). Verdict is therefore WONTFIX.