Bug 496585

Summary: NeoChat Room not displaying latest messages
Product: [Applications] NeoChat Reporter: Timothy Arnold <timaeos>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED NOT A BUG    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Shows out of sync messages

Description Timothy Arnold 2024-11-22 17:03:21 UTC
Created attachment 176043 [details]
Shows out of sync messages

SUMMARY

Some new messages that have arrived to the server and show in the chat list preview don't show in the main chat window.
I separately confirmed with FluffyChat that the messages are real and also the latest messages but are invisible in NeoChat.

STEPS TO REPRODUCE
1.  Turn on chat previews on the chat list
2.  Click on the chat 
3.  Wait until the chat preview and main chat window have out of sync messages (i.e. the latest message in the chat preview != the latest message in the main chat window)



OBSERVED RESULT
The latest messages from a chat aren't always visible despite showing in the chat preview. 

EXPECTED RESULT
The latest message should be visible in the main chat window

SOFTWARE/OS VERSIONS
NeoChat: 25.03.70
KDE Frameworks: 6.9.0
Qt: Using 6.8.0 and built against 6.8.0
Fedora Linux 41 (KDE Plasma) (Wayland)
libQuotient: 0.9.0 (built against 0.9.0)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.11.7-300.fc41.x86_64



Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.7-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 590 Series


ADDITIONAL INFORMATION

Switching to/from the chat message doesn't appear to fix this particular issue. I confirmed that the latest message on chat preview was correct via a separate matrix client. The main chat window is the one that is incorrect.
Comment 1 Timothy Arnold 2024-11-22 17:52:52 UTC
This appears to be related to the Threads feature flag that I forgot that I had on while testing a while ago. Turning it off fixed the roll-up of the thread. As such, this wasn't a bug as much as it was user error though it wasn't clear that the messages were a part of a thread when initially looking.