Bug 505238 - Pressing right arrow key after autocompleting someone's name messes up the final message
Summary: Pressing right arrow key after autocompleting someone's name messes up the fi...
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-05 14:20 UTC by Nate Graham
Modified: 2025-06-17 17:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2025-06-05 14:20:12 UTC
STEPS TO REPRODUCE
1. Start typing a message with a mention in it; Type "@", then someone's name, then tab to autocomplete
2. With the text in the text field still consisting entirely of "@[some name]", press the right arrow key a number of times
3. Type any other text
4. Press Enter to send the message


OBSERVED RESULT
Message says something like:
> Tobias Fellaa](https://matrix.to/#/@tobiasfella:kde.org) this should fail


EXPECTED RESULT
Message says:
> Tobias Fella this should fail
Comment 1 John Kizer 2025-06-16 05:16:53 UTC
Hmm, I can't reproduce this in yesterday's git master, using either a single press, five, or ten presses of the right arrow after the Tab key - is it still happening for you?

For what it's worth, what you mentioned in step 2 stuck out to me - when I Tab to autocomplete a name, the at symbol is no longer shown - the autocompleted name is simply shown in a colorful bold font. Are you still seeing the @ after tabbing to autocomplete?

Thanks!
Comment 2 Nate Graham 2025-06-17 17:37:21 UTC
Looks like it's fixed now in current git master indeed!