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

Swiping a notification to dismiss should not dismiss all notifications #8268

Closed
jblz opened this issue Aug 31, 2018 · 7 comments
Closed

Swiping a notification to dismiss should not dismiss all notifications #8268

jblz opened this issue Aug 31, 2018 · 7 comments

Comments

@jblz
Copy link
Contributor

jblz commented Aug 31, 2018

Expected behavior

Only the item swiped to be dismissed

Actual behavior

The item disappears & then all app notifications disappear

Steps to reproduce the behavior

Have more than one notification items, swipe one away

Tested on [device], Android [version]

Pixel, Android versions 8 & 9

@hypest
Copy link
Contributor

hypest commented Jan 9, 2019

Tried app version 11.4 on a Pixel 2 XL running Android 9 and couldn't reproduce it when dismissing one of two notifications. I tried with one comment and one "Like" notification and been able to dismiss the "Like" only. Are there perhaps more specific steps to reproduce? Thanks!

@jblz
Copy link
Contributor Author

jblz commented Jan 10, 2019

@hypest I'll keep an eye out for how to reproduce. Perhaps, the issue only surfaces if there are multiple of the same type (e.g. all comments)

@jblz
Copy link
Contributor Author

jblz commented Mar 2, 2019

I'm still seeing this from time to time.

Here's what my notification drawer looked like when it occurred recently:

545352016

...when I swiped away the bottom note, all three were dismissed.

@designsimply
Copy link
Contributor

Moving to the Prioritized list because even though we can always open the Notifications tab to see what’s up, it's annoying as the feeling is something may have just been missed. Thank you for raising the issue @jblz !

@jblz
Copy link
Contributor Author

jblz commented Apr 11, 2019

Thanks, @designsimply!

I think I've noticed this happening more frequently when there are "non-standard" notification types in the list. For example X-post notifications. Perhaps that's related.

@daniloercoli daniloercoli self-assigned this Apr 23, 2019
@daniloercoli daniloercoli removed their assignment May 11, 2019
@malinajirka malinajirka self-assigned this Aug 12, 2019
@malinajirka
Copy link
Contributor

I've looked into this issue, but it's difficult to fix since we are not able to reproduce it. I've tested different scenarios and everything worked as expected for me.

I have two guesses what might be causing the issue

  1. The app crashes in the background when the notification is dismissed.
  2. We create a PendingIntent which is processed when the notification is dismissed and this line doesn't work as expected (from an unknown reason). We invoke notificationManager.cancel(GCMMessageService.GROUP_NOTIFICATION_ID); and all notifications are dismissed

@jblz I'd be great if you could post the application log when this issue happens again. (Click on "Me" -> "Help & Support" -> "Application log". Thank you 🙇

Note: I'll keep testing this issue on the production version of the app. Hopefully, I'll encounter it sooner or later.

@antonis
Copy link
Contributor

antonis commented Mar 4, 2024

I'm closing the issue since I wasn't able to reproduce in the latest version of the app

Screen_recording_20240304_181916.mp4

@antonis antonis closed this as completed Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants