Summary: | Text is often replaced when an emoji is at the end of the line | ||
---|---|---|---|
Product: | [Applications] NeoChat | Reporter: | Justin Zobel <justin> |
Component: | General | Assignee: | Tobias Fella <fella> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carl, james.h.graham, josh |
Priority: | NOR | ||
Version First Reported In: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/neochat/-/commit/79a3da3358a47c71bc937ab640faa667768aa896 | Version Fixed In: | 24.12.3 |
Sentry Crash Report: |
Description
Justin Zobel
2024-01-10 00:10:05 UTC
Followup, this isn't 100% reproducible. Ah, I found a reproducible test case. Type "Test 123 :grin <tab> <tab>" It's the second tab that's replacing the text. I can Ctrl Z to undo the replacement, but I think this is definitely a bug that needs to be looked into, as not everyone will know you can Ctrl Z, and they might lose large lots of entered text. I'm really struggling to replicate this, is it still happening for you on the latest release and/or master? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Yes I still have this issue occur. It's not ever time. Confirmed as I have hit this and it drives me nuts! Yay, it's finally bugging someone who can do something about it! Muaahahah A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/2174 Git commit 79a3da3358a47c71bc937ab640faa667768aa896 by Joshua Goins. Committed on 06/03/2025 at 14:47. Pushed by redstrate into branch 'master'. Stop emojis from destroying your message This is easy to reproduce in the following scenario with a bunch of half-completed emojis: ":a :a :a :a". Trying to complete anything but the last one starts replacing parts of the message because it only considers the last colon to the current completion identifier. This change fixes that and said scenario can no longer cause a message massacare. This bug doesn't seem to affect the other completions because their searching in the string was correct, but I made sure they all share the same index now. FIXED-IN: 24.12.3 M +7 -4 src/chatdocumenthandler.cpp https://invent.kde.org/network/neochat/-/commit/79a3da3358a47c71bc937ab640faa667768aa896 |