Certain messages (e.g., deleted messages) trigger an unclearable unread message counter.
When certain types of messages are the most recent message in a room, Fractal draws the unread message counter bubble next to the room, but will not clear the bubble when the room is opened. I've noticed this specifically with deleted messages, but I think it seems to sometimes happen when someone in a room uses an emoji response to a message. The common theme is that there are messages that are not visible at the tail of the room: e.g., The server reports an unread message count, but the most recent visible message id reported by the server is the same as what Fractal shows.
I've seen similar issues arise occasionally in Element, but Element has a 'mark room as read' context-menu entry that always successfully clears the list.
Steps to reproduce
- Open Fractal. You will need a low throughput room (e.g., a direct chat), but the testing user should not have this room open.
- Have another user in the room write a message. At this point, fractal should mark the room unread / increment the unread message counter next to the room.
- Have the other user delete the message. Note that the message counter increases.
- In Fractal, open the room. Note that the message counter remains unchanged.
By this point (either after step 4 or step 3), I would expect Fractal to clear the unread message counter.
The only way to clear the message counter at this point is to open the room in another client (e.g., Element).
Information
-
This bug is reproducible from the latest nightly build - Fractal Version: 6
- OS Version: Linux (Pop!OS 22.04, PureOS Byzantium)
- Installation Source: FlatHub
- Homeserver: matrix.cse.buffalo.edu