-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read messages reappear as "new" after restarting the app. #24629
Comments
Hi ! Is the unread bug is happening in rooms where threads are used ? Maybe related in one of the issues of #24392 |
This comment was marked as off-topic.
This comment was marked as off-topic.
Okay, sorry, I thought it might be related. |
I can reproduce this with two different accounts, with Element Desktop Stable on Windows and Element Nightly both on Windows and Linux. I submitted two rageshakes, maybe they contain something useful. |
Still present with Server v1.79 and Element-Desktop I have sent log data again. |
Still present with Server v1.79 and Element-Desktop I have sent log data again. |
I very frequently get this on the desktop client on startup but not always. A few rooms in particular seem to be stuck in this bad state. Today, when I started it said I had 11 notifications from a one-to-one conversation (this was something I'd not seen before) but when I visited it, there was nothing since 9 days ago. Clearing the cache & reloading doesn't help. In fact I just cleared the cache & reloaded, followed by restarting the app and 10 rooms are now showing as unread - and they haven't had any activity in that time. Note that I use Element on both desktop & mobile, so that may or may not be related. I've submitted a couple of sets of logs. |
Is this still an issue for you @Anagastes? Synapse v1.80.0 Every time I open it, I must use "Clear cache and reload" to clear off the stuck notifications. Is there are issue tracker where we can follow progress on this? This is a critical problem that is causing a lot of confusion for those experiencing it. |
Yes, the error is still present with me. Unfortunately, I don't know of any trackers. I only know that the error was listed here... but for reasons unknown to me is now in the archive -.- https://github.com/vector-im/element-web/projects/27#card-88213606 |
This comment was marked as off-topic.
This comment was marked as off-topic.
Here is what I found so far: It works on initial sync. That corresponds to the title „Read messages reappear as "new" after restarting the app.“. When storing the receipts we do handle receipts with |
|
Yes, the main timeline is "just" another thread.
The unthreaded receipt applies to an unthreaded view of the room (so essentially across all threads). For each thread you need to compare the unthreaded receipt and the receipt for that thread and use the one which is "later".
Element Web is a threaded client and should never send an unthreaded receipt (unless you want to mark a room as fully read, in which case an unthreaded receipt on the latest event in the room, regardless of thread, should be sent). |
My suggestion: We should store receipts for the This will fix the issue after a new complete sync. Currently we do sometimes overwrite
|
/me is desperate to factor out the receipt part from |
First step: refactor the receipt code out of the sync accumulator so we can test it in isolation. |
Hi @Anagastes, I'm sorry it's still happening! It's still happening to me too and annoying me too. The last fix that might still be trickling towards you is matrix-org/matrix-js-sdk#3427 . That should be in v1.11.34. If that one doesn't prevent your problem, please log a new bug. If you want to find out early, please try https://develop.element.io or the Nightly builds. Thanks for your patience. We've fixed lots of issues in this area, but every time we turn over another rock we find 10 more, so it's frustratingly slow to show results. |
Sorry to breathe life back into this issue, but even with the stable 1.11.34 it is not fixed for me. |
* Ensure we do not add relations to the wrong timeline ([\matrix-org#3427](matrix-org#3427)). Fixes element-hq/element-web#25450 and element-hq/element-web#25494. * Deprecate `QrCodeEvent`, `SasEvent` and `VerificationEvent` ([\matrix-org#3386](matrix-org#3386)). * Move crypto classes into a separate namespace ([\matrix-org#3385](matrix-org#3385)). * Mention deno support in the README ([\matrix-org#3417](matrix-org#3417)). Contributed by @sigmaSd. * Mark room version 10 as safe ([\matrix-org#3425](matrix-org#3425)). * Prioritise entirely supported flows for UIA ([\matrix-org#3402](matrix-org#3402)). * Add methods to terminate idb worker ([\matrix-org#3362](matrix-org#3362)). * Total summary count ([\matrix-org#3351](matrix-org#3351)). Contributed by @toger5. * Audio concealment ([\matrix-org#3349](matrix-org#3349)). Contributed by @toger5. * Correctly accumulate sync summaries. ([\matrix-org#3366](matrix-org#3366)). Fixes element-hq/element-web#23345. * Keep measuring a call feed's volume after a stream replacement ([\matrix-org#3361](matrix-org#3361)). Fixes element-hq/element-call#1051. * Element-R: Avoid uploading a new fallback key at every `/sync` ([\matrix-org#3338](matrix-org#3338)). Fixes element-hq/element-web#25215. * Accumulate receipts for the main thread and unthreaded separately ([\matrix-org#3339](matrix-org#3339)). Fixes element-hq/element-web#24629. * Remove spec non-compliant extended glob format ([\matrix-org#3423](matrix-org#3423)). Fixes element-hq/element-web#25474. * Fix bug where original event was inserted into timeline instead of the edit event ([\matrix-org#3398](matrix-org#3398)). Contributed by @andybalaam. * Only add a local receipt if it's after an existing receipt ([\matrix-org#3399](matrix-org#3399)). Contributed by @andybalaam. * Attempt a potential workaround for stuck notifs ([\matrix-org#3384](matrix-org#3384)). Fixes element-hq/element-web#25406. Contributed by @andybalaam. * Fix verification bug with `pendingEventOrdering: "chronological"` ([\matrix-org#3382](matrix-org#3382)).
Steps to reproduce
I have no idea how to force it. It suddenly shows up sporadically on the desktop clients.
It is using Arch Linux and the official package from there
Outcome
That read messages also keep the status.
Operating system
Arch Linux
Application version
Version von webgo: 1.11.23 Version von Olm: 3.2.12
How did you install the app?
https://archlinux.org/packages/community/x86_64/element-desktop/
Homeserver
Own Synapse on Debian 11, v1.77
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: