Bug 463049

Summary: ":D" triggers emoji autocompletion and the first item is a weird one
Product: [Applications] NeoChat Reporter: Nate Graham <nate>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: minor CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Slightly odd emoji autocomplete

Description Nate Graham 2022-12-14 22:03:31 UTC
Created attachment 154589 [details]
Slightly odd emoji autocomplete

See attached screenshot.

In this situation, if I hit the return key to send the message, my ":D" will be replaced with :dotted line face: which is not exactly what I had in mind.

Ideas:
- Don't try to autocomplete emojis with capital letters after the colon, just lowercase letters
- Create database of "ascii emoticons" that map to various emojis. Kind of like what KEmoticons did, in fact.
Comment 1 Bug Janitor Service 2023-02-15 22:56:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/801
Comment 2 Tobias Fella 2023-02-16 15:07:11 UTC
Git commit fa27d993e2882fc0c35f4b6b1806aa1e08675fe6 by Tobias Fella.
Committed on 16/02/2023 at 15:06.
Pushed by tfella into branch 'master'.

Don't complete emojis when typing uppercase letters

M  +1    -1    src/models/completionmodel.cpp

https://invent.kde.org/network/neochat/commit/fa27d993e2882fc0c35f4b6b1806aa1e08675fe6