WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

Viewed notifications not marked read

Open guarani opened this issue 3 years ago • 3 comments

Expected behavior

Once a notification is read, it should be marked read and remain so.

Actual behavior

https://user-images.githubusercontent.com/1898325/154681980-3a26264e-c9f1-4416-9ca5-7508e16c263d.mp4

After reading a notification and returning to the Notifications screen, some notifications return to an "unread state" (lighter background).

Steps to reproduce the behavior

  1. Open the Notifications tab on an account with unread notifications
  2. Tap a notification and the app opens the corresponding screen
  3. Tap the back button to return to the notifications screen
  4. Repeat steps 2 to 3 until you notice a notification that either: a. is marked read, but after a few seconds goes back to an unread state (grey background) b. stays unread
Tested on Samsung Galaxy S10, Android 11, WPAndroid 19.2-rc-3

guarani avatar Feb 18 '22 12:02 guarani

https://github.com/wordpress-mobile/WordPress-Android/issues/5061 is similar to this issue but seems to be specific to the scenario where users tap a push/system notification.

This issue describes a different scenario: the user has the app in foreground and reads notifications from within the notification tab.

I wouldn't rule out them having the same root cause, but unless we edit the above issue to include this scenario, it seems reasonable to leave them as separate issues. If folks think they're better merged, we can merge them 👍

guarani avatar Mar 02 '22 21:03 guarani

Closing the issue since I wasn't able to reproduce with the latest version of the app (24.3-beta-1)

https://github.com/wordpress-mobile/WordPress-Android/assets/304044/9471d49f-62b6-480b-9800-513a5df0314a

antonis avatar Mar 04 '24 16:03 antonis

Reopening this issue since I can reproduce it on version 24.9.

https://github.com/wordpress-mobile/WordPress-Android/assets/2471769/c9e6970f-43d2-435a-9168-889bc666f1fc

irfano avatar May 30 '24 06:05 irfano