iOS app: viewing first forum erases notifications of second

Updated info:

Original report:

I use the iOS app.

I have 4 forums in it but mostly use the top 2.

Scenario:

  1. Open app
  2. See there are new/unread notifications for all forum list items
  3. Tap first/top forum list item to visit it
  4. Read until no new/unread and go back to hub list using the down arrow toolbar icon
  5. Look at the second forum list item

Expected

  • notifications should still be on second forum list item

Actual

  • notifications disappear from first forum list item
  • (notifications are at the forum when you visit it)
  • third and fourth forum list items are unaffected

Workaround

  • visit the second forum before the first
  • when you return to the hub list notifications will still be on first forum list item
4 个赞

I cannot reproduce this, but I am running a new (unpublished) beta of the app with a refactored home list. I will let you know when the new beta is available for testing.

5 个赞

Trying to reproduce this morning and can’t, but it happens regularly so my steps must be wrong. I’ll revise soon.

4 个赞

What I think is happening:

  1. I use my pc to fully read the second forum
  2. later I use my phone hub app
  3. notification labels are out-of-date, showing unread posts on second forum
  4. for some reason they don’t refresh when I open the app
  5. I read the first forum
  6. when I return to hub list it is refreshed
  7. notification labels are now up-to-date, second forum has already been read

Does this make sense?

I haven’t renamed the thread as yet.

3 个赞

So the correct report would be “long delay or no notice of notifications refresh on app open” ?

3 个赞

Maybe, if somebody can reproduce this!

It seems to be related to notifications.

  • I have a notification on forum 2
  • I read forum 1
  • back to list
  • forum 2 notification badge disappears
  • read forum 2
  • tap on my profile, there is the unread notification
3 个赞

I still cannot reproduce this. But the last line of your report is interesting:

So when you return to read forum 2, you do not, at first, see any notification indicator next to the profile picture? But once you tap that profile picture, then the unread notification is shown again?

2 个赞

Exactly, yes.

That’s correct.

1 个赞

Ok, so this looks like a Discourse issue, the notification state in Discourse is out of sync. Do you know if the site in question is up to date?

When this happens, is the unread notification of a specific type? Or it happens on any type of notification (reply, like, mention, etc.)?

2 个赞

Forum 2 in the example this site!

So I assume it’s all up-to-date.

Notification is most often a like.

1 个赞

Actually. I just checked my forums and my above info is incorrect

Forum 2 is a self hosted forum, so possibly not up-to-date. It’s an invite only forum for developers of an unreleased device. I can try to get you info or an invite.

Notification is usually a like.

1 个赞

Thanks for double checking, it’s possible this will be fixed when that forum updates, that would be the first step to try and resolve this, I think.

2 个赞

Sure thing. I have no visibity or control over that. It’s been happening for a few months already at least.

It’s not a big deal, just a slight annoyance. I’ll keep an eye on it.

3 个赞

旧 Bug 讨论串 (2020 年 6 月) https://meta.discourse.org/t/ios-app-viewing-first-forum-erases-notifications-of-second/154329

我重新开启这个讨论,因为它仍然存在,而且距离首次报告已经快 3 年了!上次被转到 DM 但从未被复现或解决。我已经在这个新帖子里澄清了所有内容,并使其更加简洁。

问题
iOS 应用中未读通知消失。这是一个经常发生的烦恼,它本质上是丢失数据,并且使得管理未读内容容易出错。

复现步骤:

  • iOS 应用
  • 收到两个论坛的点赞通知
  • 阅读论坛 1
  • 返回列表
  • 论坛 2 的点赞通知徽章消失了!

确认:

  • (任何非点赞通知徽章仍然存在)
  • 阅读论坛 2
  • 点击我的个人资料,未读的点赞通知与其他通知一起列出

今天:

  • 论坛 1:一个点赞通知徽章
  • 论坛 2:一个私信通知和两个点赞通知徽章

我的经历:

  • 我阅读了论坛 1
  • 然后返回了论坛列表
  • 论坛 2 的点赞通知徽章消失了
  • 但当我查看论坛 2 的通知页面时,点赞仍然列出并标记为新/未读

问题:
为什么刷新论坛列表会移除一个尚未打开、并且自上次刷新以来其主题尚未被阅读的论坛的点赞通知?

1 个赞

ReducedRepro 步骤:

  • iOS 应用
  • 跨两个论坛接收点赞通知
  • 下拉刷新
  • 论坛 2 上的点赞通知徽章消失!

确认:

  • (任何非点赞通知徽章都保留)
  • 阅读论坛 2
  • 点击我的个人资料,未读的点赞通知会与其他任何通知一起列出

结果:

  • 数据丢失
1 个赞

我重新打开了原来的帖子,并将你的帖子移了过来,以便将它们归集在一起 @gingerbeardman :+1:

2 个赞

谢谢

新的通知界面揭示了我因这个错误而错过的许多内容。

新的通知用户界面也揭示了一个新问题:点击带有关于旧内容的徽章的部分,我无法看到这些内容,除非滚动浏览我所有的点赞/回复?

将 OP 中的旧评论删除并将其重定向到此消息上方几帖中的最新内容是否有意义?

1 个赞

我已经更新了 OP,其中包含最新的 repro 步骤。:+1:

2 个赞