Bug 143348 - UI: Autocorrect -> Autocompletion: Option to manually add things to the list
Summary: UI: Autocorrect -> Autocompletion: Option to manually add things to the list
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2021-07-14 08:14 UTC by Telesto
Modified: 2024-05-29 12:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-07-14 08:14:35 UTC
Description:
UI: Autocorrect -> Autocompletion: Option to manually add things to the list

Steps to Reproduce:
1. Open Writer
2. Tools -> Autocorrect -> Autocorrect options -> Word completion

Actual Results:
You have to add things to the list by typing into main document (and hit the 8 entry's mark

Expected Results:
If you could add stuff manually, it could be used for shorter entry's to (not automatically added) and make it easier to add something manually (without typing in the main document and having to check if it actually registered)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4e0a7df2dfa10bc52d5dbda34f43e0bc0df22ae7
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-07-14 08:18:01 UTC
Note: this came to mind while bug hunting an issue with auto-correct (needed something in the list). Which obviously isn't normal workflow

But well I do see actual use case having this option (like adding stuff under 8 characters) or typing something into the list in advance.. (with a dialog and not some manual editing a file)
Comment 2 Heiko Tietze 2021-07-20 15:40:59 UTC
Lists typically have an edit field to add/edit content, yes. But this function collects frequently used words (with a minimum length of 8 letters by default). Why would you want to enter a list of words before you type it? What exact use case do you have in mind that is not covered with the current solution?
Comment 3 Telesto 2021-07-21 10:35:05 UTC
(In reply to Heiko Tietze from comment #2)
> Lists typically have an edit field to add/edit content, yes. But this
> function collects frequently used words (with a minimum length of 8 letters
> by default). Why would you want to enter a list of words before you type it?
> What exact use case do you have in mind that is not covered with the current
> solution?

If there are enough merits for my 'suggestion' is an open question.. 

For some context. This started in the period where LibreOffice did contain bug 119695

Word collection was simply broken. It added so many useless words to the list, which made auto-complete simply a real annoyance.

So manual input, instead of auto-collected seemed a better solution. But well more a work around. Core problem was something else

--
But well lets target auto-complete in a whole. Some alleged issues from my perspective. And idea to "improve" [subjective] auto-complete, these are only directions

Issue A
Words in the auto-correct list depend on 8 letters (by default). The 6-7 range sometimes also useful. Except you don't want everything to be auto-added. If set it to 6 the word completion list will be filled words you use less often (or easy to type).

Having manual input makes it possible to add words to complete list, which wouldn't be cached by autocomplete.

Objection: 
*well that setting would be buried so deeply in the dialog nobody would make use of it anyhow..
* This isn't matching how auto-complete lists are stored today. Auto-complete lists are generated on document content (and not stored). Or that's my superficial impression [or there are bugs here]

Issue B
The auto-complete list document based. There is no way to share this across sessions other documents. You are always starting form scratch. Only this user-unfriendly workaround. 

[https://help.libreoffice.org/7.3/en-US/text/swriter/guide/word_completion_adjust.html?&DbPAR=WRITER&System=WIN]

Issue C
Autocomplete only allows words which are in the (spellcheck) dictionary. If you diverge, you can't add it. Add well you have 'ignore' and add to 'dictionary'. As long as the word isn't added to the dictionary, this will surely not work.
Comment 4 QA Administrators 2021-07-22 03:51:09 UTC Comment hidden (obsolete)
Comment 5 Heiko Tietze 2021-08-16 13:50:56 UTC
Being able to directly interact with a list supports confidence and having an edit field also allows to add shorter words. So let's do it
Comment 6 Telesto 2021-08-16 14:47:01 UTC
(In reply to Heiko Tietze from comment #5)
> Being able to directly interact with a list supports confidence and having
> an edit field also allows to add shorter words. So let's do it

In principle happy with the decision, except it more or less useless with this fact: 

[B]
The auto-complete list document based. There is no way to share this across sessions other documents. You are always starting form scratch. Only this user-unfriendly workaround. 

[https://help.libreoffice.org/7.3/en-US/text/swriter/guide/word_completion_adjust.html?&DbPAR=WRITER&System=WIN]

----
Note: not saying that auto-complete registering all long words being typed being, desired by definition. This can cause auto of context auto-complete suggestions. 

And a new GUI is needed if auto-complete list should be configurable for every language separately.

So any change isn't straight forward :-( 

It really needs more overthinking and comparison with different auto-complete implementations..
Comment 7 Heiko Tietze 2024-05-29 12:05:45 UTC
(In reply to Telesto from comment #6)
> The auto-complete list document based.
Likely has been reported, but yes.