deltachat-desktop icon indicating copy to clipboard operation
deltachat-desktop copied to clipboard

notifications are not removed from notification center

Open r10s opened this issue 3 years ago • 3 comments

notifications show up in the notification center of mac (probably also on other os), however, they are not removed when the corresponding chat is opened and the belonging messages are no longer "fresh".

eg. on android, we dismiss all notifications belonging to a chat once the chat is opened, i assume sth. like that would be nice for desktop as well.

also, the question arises what should happen to the notifications on account switching, esp. if they get clickable by #2198 - an easy approach would be to just dismiss all notifications on account switching.

r10s avatar Mar 29 '21 09:03 r10s

it is implemented, so if it doesn't work its a bug.

Simon-Laux avatar Mar 29 '21 18:03 Simon-Laux

to be clear:

  • the notification is removed when the notification itself is clicked and delta chat opens the corresponding chat (which seems to work, although i stated differently at #2198 )

what is not working for me on 1.15.5/mac:

  • a notification appears for ChatA, also the badge counter is increased correctly

  • the notification is not clicked, instead, the user navigates to ChatA inside Delta Chat, using the chatlist

  • now the badge-counter is decreased correctly, but the notification stuck inside the notification center


(the chat is opened on the left and there are no "new" messages, the notification center still notifies about notifications are are long read)

i would expect the notifications being removed along with removed badge counter (in other words, remove all notifications belonging to the chat that was just opened)

r10s avatar Mar 29 '21 19:03 r10s

looks like this is the case on windows 10 too, even for the current session

Simon-Laux avatar Apr 07 '22 11:04 Simon-Laux