Bug 492705

Summary: Replying to a message that ends with "<" would cause the "<" to disappear from the preview
Product: [Applications] NeoChat Reporter: Claire <misc>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl, justin
Priority: NOR    
Version First Reported In: 24.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot demonstrating the bug

Description Claire 2024-09-06 09:57:59 UTC
Created attachment 173377 [details]
Screenshot demonstrating the bug

SUMMARY
When replying to messages that end with "<", the trailing "<" is gone from the preview about the message box

STEPS TO REPRODUCE
1. Send a message that ends in "<", such as "test <"
2. Reply to the message

OBSERVED RESULT
The preview above the message box reads "test"

EXPECTED RESULT
The preview above the message box should've read "test <"

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Comment 1 Justin Zobel 2024-09-16 17:40:51 UTC
I tested this on git master and couldn't reproduce the issue but I can on 24.08.1.

When composing the reply, the < is missing but when it is sent the chat history shows the <

Possibly fixed by https://invent.kde.org/network/neochat/-/commit/1821d9fc0492517e3a1dd9c6aecfd4ee3c745c6f ?
Comment 2 Tobias Fella 2024-09-18 12:42:53 UTC
yes, that likely fixed it