https://bugs.documentfoundation.org/show_bug.cgi?id=173167

            Bug ID: 173167
           Summary: Enhancement Request: AutoCorrect/Word Completion –
                    Suggest longest common prefix instead of first
                    alphabetical match
           Product: LibreOffice
           Version: 26.2.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Currently, LibreOffice's Word Completion feature suggests the first matching
word in alphabetical order when multiple stored words share the same prefix.
This can cause unnecessary corrections or force the user to decline incorrect
suggestions repeatedly while typing.


Actual Results:
Example Scenario:

Suppose the list of matches contains:

Completa

Completare

Completo

Completino

Complete

Current behavior: Typing Comp immediately suggests Completa (or whichever word
ranks first alphabetically).

Proposed behavior: Typing Comp suggests Complet (the longest common stem shared
by all five words). Once the user types the next letter (e.g., o), the
suggestion refines directly to Completo.

Expected Results:
Proposed Enhancement:

Instead of immediately suggesting a full word based on alphabetical priority,
Word Completion should automatically complete up to the longest common prefix
among all matching candidate words. As the user continues typing additional
characters, the suggestion should dynamically refine.


Reproducible: Always


User Profile Reset: No

Additional Info:
Benefits:

Prevents premature and incorrect full-word completion.

Provides a smoother, more intuitive autocomplete experience similar to modern
CLI tools and advanced IDEs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to