[GH-ISSUE #521] Listening notification is dismissable #397

Closed
opened 2026-05-07 00:23:49 +02:00 by BreizhHardware · 5 comments

Originally created by @alexhorner on GitHub (Nov 27, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/521

Screenshot_20221126_201534_Nova7.jpg

As seen in my screenshot, both Quasseldroid and Automate are undismissable (cannot be swiped away). Conversations and ntfy both are dismissable (can be swiped away) right now, and don't seem to reappear without killing them and starting them again. I don't think this is desirable because if you accidentally dismiss ntfy you technically can't tell it's running.

Originally created by @alexhorner on GitHub (Nov 27, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/521 ![Screenshot_20221126_201534_Nova7.jpg](https://user-images.githubusercontent.com/33007665/204114578-fe84a8b3-2074-4382-a7b9-b18476f1b816.jpg) As seen in my screenshot, both Quasseldroid and Automate are undismissable (cannot be swiped away). Conversations and ntfy both are dismissable (can be swiped away) right now, and don't seem to reappear without killing them and starting them again. I don't think this is desirable because if you accidentally dismiss ntfy you technically can't tell it's running.
BreizhHardware 2026-05-07 00:23:49 +02:00
Author
Owner

@binwiederhier commented on GitHub (Nov 27, 2022):

Fascinating. I tried this in the emulator and this is true. Must be new in SDK 33. I always found it annoying that it cannot be dismissed, but now I kind of agree with you, it should not be dismissable.

<!-- gh-comment-id:1328144705 --> @binwiederhier commented on GitHub (Nov 27, 2022): Fascinating. I tried this in the emulator and this is true. Must be new in SDK 33. I always found it annoying that it cannot be dismissed, but now I kind of agree with you, it should not be dismissable.
Author
Owner

@alexhorner commented on GitHub (Nov 27, 2022):

Fascinating. I tried this in the emulator and this is true. Must be new in SDK 33. I always found it annoying that it cannot be dismissed, but now I kind of agree with you, it should not be dismissable.

I too used to find it annoying, until you think about it slightly differently and realise it's actually really important. I treat it like my system tray as if I was on a desktop computer. It gives me active visibility over my device and how things are going. It is of course essential that they're minimised though, because having an undismissable icon on my lockscreen and top bar of my device is infuriating.

<!-- gh-comment-id:1328145203 --> @alexhorner commented on GitHub (Nov 27, 2022): > Fascinating. I tried this in the emulator and this is true. Must be new in SDK 33. I always found it annoying that it cannot be dismissed, but now I kind of agree with you, it should not be dismissable. I too used to find it annoying, until you think about it slightly differently and realise it's actually really important. I treat it like my system tray as if I was on a desktop computer. It gives me active visibility over my device and how things are going. It is of course essential that they're minimised though, because having an undismissable icon on my lockscreen and top bar of my device is infuriating.
Author
Owner

@alexhorner commented on GitHub (Nov 27, 2022):

Fascinating. I tried this in the emulator and this is true. Must be new in SDK 33. I always found it annoying that it cannot be dismissed, but now I kind of agree with you, it should not be dismissable.

You might be correct with the SDK version, actually. I think I know why too - they added a note to the task switcher to give you visibility, see below:

Screenshot_20221127_011018_One UI Home.jpg

<!-- gh-comment-id:1328145469 --> @alexhorner commented on GitHub (Nov 27, 2022): > Fascinating. I tried this in the emulator and this is true. Must be new in SDK 33. I always found it annoying that it cannot be dismissed, but now I kind of agree with you, it should not be dismissable. You might be correct with the SDK version, actually. I think I know why too - they added a note to the task switcher to give you visibility, see below: ![Screenshot_20221127_011018_One UI Home.jpg](https://user-images.githubusercontent.com/33007665/204114806-b0936883-0c02-4d39-af07-0a42d97c5681.jpg)
Author
Owner

@binwiederhier commented on GitHub (Nov 28, 2022):

I asked on Discord/Matrix, and people were mostly in favor of keeping the behavior like it is today. And after trying it out in the emulator, I agree. The "active apps" screen in the notification drawer shows that it's running, but it does not allow restoring the notification, and it invites the user to kill the app. So I'm going to set the setOngoing(true) flag manually in the next release.

Screenshot from 2022-11-28 12-27-10
Screenshot from 2022-11-28 12-27-06

<!-- gh-comment-id:1329484697 --> @binwiederhier commented on GitHub (Nov 28, 2022): I asked on Discord/Matrix, and people were mostly in favor of keeping the behavior like it is today. And after trying it out in the emulator, I agree. The "active apps" screen in the notification drawer shows that it's running, but it does not allow restoring the notification, and it invites the user to kill the app. So I'm going to set the `setOngoing(true)` flag manually in the next release. ![Screenshot from 2022-11-28 12-27-10](https://user-images.githubusercontent.com/664597/204343766-839f3416-d414-4117-b80b-ea04d89866eb.png) ![Screenshot from 2022-11-28 12-27-06](https://user-images.githubusercontent.com/664597/204343767-a40cc09a-f088-4b63-a643-cfd2806dd236.png)
Author
Owner

@binwiederhier commented on GitHub (Nov 28, 2022):

Done in github.com/binwiederhier/ntfy-android@1b587ab82a

<!-- gh-comment-id:1329487831 --> @binwiederhier commented on GitHub (Nov 28, 2022): Done in https://github.com/binwiederhier/ntfy-android/commit/1b587ab82a4cf69e676788d8089a147d491163e7
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#397
No description provided.