Bug 516106

Summary: When *not* using the rich text bar, markdown-style list markup is transformed into rich text anyway and messed up
Product: [Applications] NeoChat Reporter: Nate Graham <nate>
Component: GeneralAssignee: Tobias Fella <fella>
Status: REPORTED ---    
Severity: normal CC: carl, josh
Priority: NOR Keywords: regression
Version First Reported In: git master   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=516116
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: What gets pasted
Mis-formatted message

Description Nate Graham 2026-02-16 17:17:40 UTC
Created attachment 189667 [details]
What gets pasted

The new rich text bar functionality has regressed simple markdown-based messages when *not* using the rich text bar.


STEPS TO REPRODUCE
1. *don't* open the rich text bar
2. Write some text in a text editor and paste it into the chat text field. This is the text:

Please disregard this test:
- thing 1
- thing 2
- thing 3


OBSERVED RESULT
See attached screenshot. Two of the list items become a part of a rich text list, bu the third one is not. If I press Enter, the result is this messed up list


EXPECTED RESULT
Text pasted exactly as originally written. If I then press Enter, I get a standard three-item list as I did before the rich text bar was merged.
Comment 1 Nate Graham 2026-02-16 17:35:45 UTC
Created attachment 189669 [details]
Mis-formatted message

It may be another example of the same issue or a slightly different one, but I just encountered the following while trying to report issues to the NeoChat developers. I pasted the following message composed elsewhere:


I'm sorry to say I'm having a really hard time using NeoChat since the rich text bar MR was merged. I'm seeing instability and UI regressions.

Difficult-to-use-it now:
- https://bugs.kde.org/show_bug.cgi?id=516102 - Chat text field becomes de-focused after sending a message 
- https://bugs.kde.org/show_bug.cgi?id=516108 - Freezes in QChar::category /harfbuzz library when loading chat history while a link preview is loading and rich text bar is open 
- https://bugs.kde.org/show_bug.cgi?id=516107 - When *not* using the rich text bar, markdown-style list markup is transformed into rich text anyway and messed up 
- https://bugs.kde.org/show_bug.cgi?id=516106 - When *not* using the rich text bar, markdown-style list markup is transformed into rich text anyway and messed up 

Less bad but nonetheless UI regressions:
- https://bugs.kde.org/show_bug.cgi?id=516100 - Compact delegate style no longer vertically centers unread bubble 
- https://bugs.kde.org/show_bug.cgi?id=516101 - "Other person is typing" indicator dots are too close to the person's name 
- https://bugs.kde.org/show_bug.cgi?id=516104 - Two context menus when right-clicking on messages 

And the result once sent is attached in a screenshot.
Comment 2 Nate Graham 2026-02-16 18:16:16 UTC
In today's git master this has changed.

If I paste:

Please disregard this test:
- thing 1
- thing 2
- thing 3



The resulting message is:

- thing 1

- thing 2

- thing 3 ```