Bug 479917 - Notifications dialog fetches unread messages from rooms with unfetched content too slowly
Summary: Notifications dialog fetches unread messages from rooms with unfetched conten...
Status: RESOLVED NOT A BUG
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-01-16 20:35 UTC by Nate Graham
Modified: 2024-07-28 12:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2024-01-16 20:35:55 UTC
Today's git master on Plasma 6 Wayland on top of Fedora KDE.


STEPS TO REPRODUCE
1. Join a lot of rooms
2. Turn off NeoChat
3. Wait for many messages to accumulate in them, and for at least one message to mention you--e.g. by having NeoChat closed during EU work hours
4. Open NeoChat
5. Open Notifications dialog


OBSERVED RESULT
The Notifications dialog shows me messages only from rooms that have been refreshed recently--i.e. those rooms where I'm likely to already have read the messages. For rooms that I didn't open between steps 4 and 5, the rooms themselves will show a green badge to indicate that there are unread notifications, but the Notifications dialog doesn't show them.


EXPECTED RESULT
The Notifications dialog shows messages mentioning me in all rooms, not just the ones I opened and therefore refreshed recently.
Comment 1 Nate Graham 2024-01-16 20:37:35 UTC
While I submitted this bug report, the view eventually populated. It was so slow that I thought it wasn't working.

Maybe we can make the bug report about that?
Comment 2 Tobias Fella 2024-07-28 12:56:36 UTC
The notifications view uses entirely different API than the normal room loading; if there are problems there that cause problems loading some rooms, that has to be a bug in the matrix server software. as for the speed - yeah, things aren't as fast as I'd like them to be, but that's also a problem in the server. We could do a better job in showing that notifications are loading, the main problem there seems to be the same as https://bugs.kde.org/show_bug.cgi?id=490407