Skip to content
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

App icon shows unread messages although there are none #2993

Closed
kostrykin opened this issue Jul 2, 2024 · 10 comments
Closed

App icon shows unread messages although there are none #2993

kostrykin opened this issue Jul 2, 2024 · 10 comments
Labels
A-Notifications O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Backend X-Needs-Rust This issue needs a Rust SDK change. It must have a link to a Rust SDK issue

Comments

@kostrykin
Copy link

Steps to reproduce

The app icon shows that there are unread messages:
IMG_2801

However, after opening the app, there are no unread messages:
IMG_2800

Restarting the app does not solve issue.

I cannot send logs because nothing happens when I shake the phone with the app open.

Outcome

What did you expect?

I expect the app icon to stop indicating falsely that there were unread messages.

What happened instead?

The app icon keeps indicating that there are two unread messages.

Your phone model

iPhone 13 mini

Operating system version

iOS 17.5.1

Application version

Version 1.6.11 (112)

Homeserver

matrix.org

Will you send logs?

No

@pixlwave
Copy link
Member

pixlwave commented Jul 2, 2024

@kostrykin Do you see unread messages if you use the old app, Element Web or another matrix client?

@kostrykin
Copy link
Author

@pixlwave I see unread messages when using the old Element for iOS, but not when using Element on the desktop (macOS).

@pixlwave
Copy link
Member

pixlwave commented Jul 3, 2024

Ok, and if you read all of those does the EX badge drop to zero?

@kostrykin
Copy link
Author

There are no unread messages which I could read when I open the app. It’s only shown on the app icon. So I guess the answer is no.

@morguldir
Copy link

Same as #2066, basically the counts are from your server and synapse still rarely returns an incorrect badge count

Element Web doesn’t use push so it won't be affected

@pixlwave
Copy link
Member

pixlwave commented Jul 3, 2024

There are no unread messages which I could read when I open the app. It’s only shown on the app icon. So I guess the answer is no.

On the old iOS app?

@kostrykin
Copy link
Author

There are no unread messages which I could read when I open the app. It’s only shown on the app icon. So I guess the answer is no.

On the old iOS app?

Yes, it’s the same on both iOS apps. Only reason that I switched to the new one was that I hoped it would fix the wrong badges.

@pixlwave
Copy link
Member

Ah ok yes, then it seems its similar to the previous one linked but less obvious. Until we have all the data locally to compute unread counts properly. For now this is caused by either

  • A bug in Synapse where it is reporting to us that there are unreads when there are not.
  • You have some rooms with events that aren't displayable on mobile (but that sounds less likely)

@pixlwave pixlwave added X-Needs-Rust This issue needs a Rust SDK change. It must have a link to a Rust SDK issue X-Needs-Backend S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely A-Notifications labels Jul 12, 2024
@ara4n
Copy link
Member

ara4n commented Jul 13, 2024

this really is a dup of #2066...

@ara4n
Copy link
Member

ara4n commented Sep 3, 2024

dup #3151

@ara4n ara4n closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Notifications O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Backend X-Needs-Rust This issue needs a Rust SDK change. It must have a link to a Rust SDK issue
Projects
None yet
Development

No branches or pull requests

4 participants