element-web icon indicating copy to clipboard operation
element-web copied to clipboard

Switching to SSS results in hundreds of rooms with unread messages that cannot be bulk-cleared

Open ajkessel opened this issue 9 months ago • 10 comments

Steps to reproduce

I just switched to SSS on Desktop 1.11.97 (Windows 10). I now have several hundred rooms showing unread messages, where I had none before. Going to Settings-->Notifications-->Mark All as Read has no effect. I can manually clear unreads room by room but there are hundreds.

Outcome

What did you expect?

No unreads

What happened instead?

(Almost?) every room has unreads, and can't be bulk cleared

Operating system

Windows 10

Application version

1.11.97

How did you install the app?

Download portable version

Homeserver

Synapse 1.128.0

Will you send logs?

Yes

ajkessel avatar Apr 10 '25 13:04 ajkessel

Same problem, those unread notifications reappear when browser is restarted, even when all rooms were marked as read before. Additionally some rooms have "Empty room" name, that changes when room is focused, and also this issue returns after browser restart.

waclaw66 avatar Apr 11 '25 05:04 waclaw66

Just confirmed the issue with nightly:

Element Nightly version: 0.0.1-nightly.2025041101
Crypto version: Rust SDK 0.10.0 (3cc301d), Vodozemac 0.9.0

ajkessel avatar Apr 11 '25 21:04 ajkessel

Same issue on Firefox 137.0.2, Windows 10 Home 64-bit

::EDIT:: seems like it has been fixed. I can clear the unread messages now.

onmyouji avatar Apr 16 '25 05:04 onmyouji

@onmyouji what version of Element? I'm still unable to clear unreads on Element 1.11.99.

ajkessel avatar May 01 '25 14:05 ajkessel

@ajkessel I use their web client on https://app.element.io

Element version: 1.11.98

onmyouji avatar May 01 '25 17:05 onmyouji

Oh, I'm using the local desktop app. I wonder if that should make a difference?

Not only do I have hundreds of of unread rooms that can't be bulked cleared, but if I manually clear a few and then exit and restart, they show as unread again.

ajkessel avatar May 01 '25 18:05 ajkessel

Does anyone know if there is another issue I should be following to see when this is fixed? Every time I open the app, basically every room is unread.

ajkessel avatar May 04 '25 18:05 ajkessel

Still an issue on latest develop:

Element version: 22c7bf346c53-js-26922a61f30e
Crypto version: Rust SDK 0.11.0 (f2e32d4), Vodozemac 0.9.0

Unread counts can be cleared temporarily per-room using right click -> mark as read, but reloading the tab makes them appear again. This only seems to affect encrypted rooms.

Xiretza avatar May 19 '25 20:05 Xiretza

Same issue now

Element Nightly version: 0.0.1-nightly.2025061101
Crypto version: Rust SDK 0.11.1 (9e3bf58), Vodozemac 0.9.0

"Mark all as read" is not having any effect for me.

ajkessel avatar Jun 11 '25 18:06 ajkessel

Last I saw this, the unread message counts in synapse simply didn't work in SSS, element X doesn't use them and computes everything locally but web and desktop rely on them which likely leads to this symptom

t3chguy avatar Jun 11 '25 18:06 t3chguy