# 话题底部显示“还有1个未读”实际上没有未读话题

**URL:** <https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817>\
**Category:** Bug\
**Created:** [2022年三月12日 22:25 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817 "2022-03-12T22:25:39Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**Post date:** [2022年六月13日 15:54 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/29 "2022-06-13T15:54:30Z")

</div>

正在撰写此后续跟进：

> 这似乎……已经修复了。我大约一周没有注意到这些自我通知了……

当我收到“查看 X 个新主题或已更新主题”的通知时，该通知位于“最新”列表的顶部，我点击了它，并收到了更多的自我通知。 :-/

供记录，我在之前打开的标签页中更新了帖子，然后回到了我的“最新”列表（我的个人主页）。没有自我通知。  
转到“新建”然后返回“最新”进行检查。自我通知。

开始撰写此更新，并在我仍然打开的另一个窗口中收到了蓝色的“新主题或已更新主题”通知。点击它，然后 ⚡ 砰 ⚡ 自我通知。

---

<div class="post-metadata">

**Author:** ![glimfeather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glimfeather/32/257582_2.png) [@glimfeather](https://meta.discourse.org/u/glimfeather)\
**Post date:** [2022年六月13日 16:46 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/31 "2022-06-13T16:46:39Z")

</div>

我经常在我使用的六个左右的 Discourse 站点上看到这个，尽管数字有所不同。甚至在这里也看到过！😮

就在我需要一些“证据”的时候，这个_反例_出现了。

 ![Screenshot 2022-06-13 at 17.32.22](https://global.discourse-cdn.com/meta/original/4X/c/c/e/cce8a8fc742c7abc905b03711cf7b284b980ab05.jpeg)

---

<div class="post-metadata">

**Author:** ![glimfeather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glimfeather/32/257582_2.png) [@glimfeather](https://meta.discourse.org/u/glimfeather)\
**Post date:** [2022年六月15日 07:45 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/32 "2022-06-15T07:45:36Z")

</div>

这是另一个例子，但由于我之前的两个帖子已合并，因此我无法直接添加。这个例子来自某个 Discourse 安装。

 ![Screenshot 2022-06-15 at 08.42.24](https://global.discourse-cdn.com/meta/original/4X/8/e/2/8e23e401242b0258aaeef41aff14fea1fa9f0dd4.jpeg)

---

<div class="post-metadata">

**Author:** ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**Post date:** [2022年八月2日 17:43 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/33 "2022-08-02T17:43:18Z")

</div>

因为这似乎是相关的，所以在这里发帖。  
Meta 上的主题列表显示该主题有 168 条新帖子：  
 ![Selection_359](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/optimized/4X/b/3/d/b3dd406cda5589cd3a1cbe9ed8c21ff51a7c9073_2_690x60.png)

但其中大部分已被清理，所以只剩下一条：

 ![Selection_360](https://global.discourse-cdn.com/meta/original/4X/0/a/7/0a71bf712f8e6aafbecefde19692a54d82b2ab5a.png)

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年八月2日 17:53 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/34 "2022-08-02T17:53:14Z")

</div>

我也[之前报告过](https://meta.discourse.org/t/tracker-counts-include-deleted/216727)这个问题，但有人指向了这篇帖子：🙂

> [@Number of unread replies is different than number of topic replies due to reply deletions](https://meta.discourse.org/t/number-of-unread-replies-is-different-than-number-of-topic-replies-due-to-reply-deletions/142244/2?u=jammydodger):
>
> We have had this reported a few times before, it is fiendishly hard to fix. If a large number of posts are deleted then unread count is artificially incredibly high. We could I guess do a client fix that caps numbers but it just replaces imperfect with more imperfect. Problem with counting deleted replies is that there is no cheap way of do it. You may have read 17 of the 32 deleted replies.

---

<div class="post-metadata">

**Author:** ![glimfeather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glimfeather/32/257582_2.png) [@glimfeather](https://meta.discourse.org/u/glimfeather)\
**Post date:** [2022年九月28日 16:15 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/35 "2022-09-28T16:15:09Z")

</div>

我得出的结论是，这类错误是由使用多个系统访问同一个 Discourse 安装引起的。我在访问各种 Discourse 实例（目前有 12 个，反映了我的职业和业余兴趣，我在所有这些实例上都看到了这个错误）时，经常在我的台式 Mac 和 MacBookPro 之间切换，而未读/新帖计数从未准确过。我想知道是否是 serviceworker.js 脚本有问题，没有被编码来应对这种用户行为。

---

<div class="post-metadata">

**Author:** ![Sevencasper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sevencasper/32/307651_2.png) [@Sevencasper](https://meta.discourse.org/u/Sevencasper)\
**Post date:** [2023年五月19日 04:40 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/36 "2023-05-19T04:40:40Z")

</div>

在一段时间内（超过 6 个月），我一直遇到这个问题以及以下问题（使用 Windows 11 和 Edge 浏览器（版本 113.0.1774.42（官方生成版本）（64 位））：

> [@Discourse jumps back 20 posts in post history when navigating to new topic](https://meta.discourse.org/t/discourse-jumps-back-20-posts-in-post-history-when-navigating-to-new-topic/242739):
>
> Recently our users have noticed (myself included) that sometimes when navigating to a new topic Discourse will jump back 20 posts (consistently 20) in post history. It’s driving people crazy. We are on the latest version of Discourse as of today and it’s still happening. We have people reporting this with Safari, Chrome, and Firefox. Any help is appreciated.

我最初以为是由于在手机和电脑之间切换造成的，但在停止使用手机访问论坛后，问题仍然存在。  
我曾在我遇到问题的论坛上发帖询问，有人建议我尝试使用其他浏览器（der）。

我已经切换到 Firefox 浏览器（版本 113.0.1 64 位），并且我在 Discourse 论坛上遇到的所有问题都已解决。

---

<div class="post-metadata">

**Author:** ![wmamrak](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wmamrak/32/463110_2.png) [@wmamrak](https://meta.discourse.org/u/wmamrak)\
**Post date:** [2024年十一月9日 12:40 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/37 "2024-11-09T12:40:36Z")

</div>

最近，我们社区的几位用户报告了此问题。我们使用的是最新版本（3.4.0.beta3-dev (45ecb34aec)）。

---

<div class="post-metadata">

**Author:** ![Shauny](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shauny/32/362012_2.png) [@Shauny](https://meta.discourse.org/u/Shauny)\
**Post date:** [2025年二月16日 23:58 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/38 "2025-02-16T23:58:34Z")

</div>

我们现在才开始收到这方面的报告

---

<div class="post-metadata">

**Author:** ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)\
**Post date:** [2025年二月17日 21:24 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/39 "2025-02-17T21:24:58Z")

</div>

是的，这种情况至少已经发生在我身上好几周了。

---

<div class="post-metadata">

**Author:** ![Julien\_Palard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/julien_palard/32/198784_2.png) [@Julien\_Palard](https://meta.discourse.org/u/Julien_Palard)\
**Post date:** [2025年十一月5日 17:27 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/40 "2025-11-05T17:27:54Z")

</div>

我的自托管 discourse 也偶尔发生这种情况：

 ![Screenshot 2025-11-05 at 18-27-05 Sujets Non lus sur AFPy - AFPy](https://global.discourse-cdn.com/meta/original/4X/8/0/f/80f6b095d11dd5abb7d1dfd65f651312766f8120.png)

---

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2025年十一月5日 18:20 UTC](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817/41 "2025-11-05T18:20:51Z")

</div>

我说这件事已经发生好几年了。而且每天都发生，即使在这里也是如此。

[上一頁](https://meta.discourse.org/t/bottom-of-topic-shows-there-is-1-unread-remaining-when-there-are-actually-0-unread-topics-remaining/220817.md?page=1)
