element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
GNU Affero General Public License v3.0
393 stars 87 forks source link

Notifications persist despite opening and reading the source chat #3004

Open SaphireLattice opened 2 months ago

SaphireLattice commented 2 months ago

Steps to reproduce

  1. Receive a message from someone, causing a notification to appear
  2. Open the chat eventually and read the message
  3. Repeat a few times
  4. Get confused why the notifications have stacked up since the last day and never disappeared

Outcome

What did you expect?

Notifications are properly removed from the notification drawer when I open the chat and read up to or further than the message in question, potentially leaving some notifications to stay if I didn’t scroll down to them (so only persist if the last read is older than a given notification’s message)

What happened instead?

Notifications never disappear until manually dismissed

Your phone model

iPad Pro (2022)

Operating system version

iOS 17.5.1

Application version

Version: 1.6.11 (112)

Homeserver

matrix.org

Will you send logs?

No

pixlwave commented 1 month ago

@SaphireLattice Are you opening the chats on the same device or on web? I'm unable to reproduce this myself when opening on the same device.

SaphireLattice commented 1 month ago

Purely on the same device. Specifically do not tap on the popped up notification, and instead open the app. Or have two or more notifications received and tap on any of them. The eventual result is open client and fully read history, with extra notifications existing and never dismissing themselves.