Bug 133494 - Improve word completion suggestions
Summary: Improve word completion suggestions
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2020-05-29 09:49 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2023-01-10 12:08 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Word completion suggestions (13.03 KB, image/png)
2020-05-29 09:49 UTC, Samuel Mehrbrodt (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Mehrbrodt (allotropia) 2020-05-29 09:49:44 UTC
Created attachment 161390 [details]
Word completion suggestions

When typing in Calc, words that already exist in the document are suggested while typing.
Hitting return accepts the suggestion.

This sometimes makes you accept the suggestion unintentionally, as you also use return to go to the next cell.

WPS Sheets has solved this with a dropdown instead of autocomplete (see attached screenshot). This way users can choose from multiple suggestions, and also they don't unintentionally accept a suggestion, since hitting Return just finishes editing in the current cell and moves to the next.

I suggest to implement a similiar kind of dropdown in LO too.
Comment 1 V Stuart Foote 2020-05-30 13:46:44 UTC
Seems reasonable, if it remains light weight--performant. 

And, would the listbox of suggestions be drawn from current column, sheet, or the full ODS?
Comment 2 Heiko Tietze 2020-06-03 11:09:16 UTC
Yes, as known from intelligent code completion (aka IntelliSense).
Do you need further input from UX?
Comment 3 Samuel Mehrbrodt (allotropia) 2020-06-04 05:44:47 UTC
(In reply to V Stuart Foote from comment #1)
> And, would the listbox of suggestions be drawn from current column, sheet,
> or the full ODS?

In WPS this list comes from the current column (which probably makes sense especially in large spreadsheets).
Comment 4 Heiko Tietze 2021-05-18 11:26:27 UTC
No further input from UX required, let's do it.
Comment 5 Viktor 2021-08-25 16:11:06 UTC
Very good Idea.
The solution like in WPS seems to be a good one!
Comment 6 Buovjaga 2021-09-20 08:46:54 UTC
Kendy pointed out that we already have this - it just is not opened automatically. The UNO command is .uno:DataSelect and the default shortcut is Alt-down. Id is SID_DATA_SELECT

See the function ScTabView::StartDataSelect in sc/source/ui/view/tabview.cxx
and ScGridWindow::LaunchDataSelectMenu in sc/source/ui/view/gridwin.cxx
Comment 7 V Stuart Foote 2022-08-28 18:25:58 UTC
Spent a little time on this for bug150633 and bug 150644

The <alt><down> listbox is OK, but it needs a little more to be useful.

Specifically, it defaults now to simply listing all the unique values contained in the column.  What is needed to make it minimally functional on larger sheets is to filter the lb content based on a partial text entry being made.

And idealy, filter the lb content with a regex pattern match (beginning or end of entry like quikee did for the HUD).