Bug 485844

Summary: Editing the same comment twice, gives empty edit box.
Product: [Applications] NeoChat Reporter: ulterno
Component: GeneralAssignee: Ionut Demsa <ionix.kde>
Status: RESOLVED FIXED    
Severity: normal CC: carl, fella, ionix.kde, james.h.graham, misc, sighunter, s_chriscollins, ulterno
Priority: NOR    
Version First Reported In: 24.02.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the empty editbox

Description ulterno 2024-04-20 09:31:28 UTC
SUMMARY
If you edit a comment that you edited once before, you will see an empty edit box.

STEPS TO REPRODUCE
1. Make a comment.
2. Edit the comment and ✓
3. Go to edit the same comment a second time to get observation.

OBSERVED RESULT
1. Editing the first time, in step 2, you see the previously written text.
2. Editing the second time, in step 3, you do not see the previously written text and the edit box is empty.

EXPECTED RESULT
- Editing the second time, you should still see the previous text same as the first time.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: plasmashell 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

BONUS INFORMATION
After editing a second time, if you exit NeoChat (full stop) and restart it, you might see the original comment, before editing.
Comment 1 SigHunter 2024-06-01 08:18:45 UTC
Created attachment 170039 [details]
Screenshot of the empty editbox

this also happens with currently latest NeoChat 24.05.0 and it looks like this (screenshot in attachments)

QT 6.7.1
KF 6.2.0
Plasma 6.0.90
Comment 2 James Graham 2024-07-23 13:38:38 UTC
*** Bug 488322 has been marked as a duplicate of this bug. ***
Comment 3 James Graham 2024-09-06 13:49:58 UTC
This is fixed in master