# 键盘导航后更新未读计数

**URL:** https://meta.discourse.org/t/update-unread-counters-after-keyboard-navigation/104167
**Category:** UX
**Created:** [2018年十二月13日 05:55 UTC](https://meta.discourse.org/t/update-unread-counters-after-keyboard-navigation/104167 "2018-12-13T05:55:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![saj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saj/32/523935_2.png) [@saj](https://meta.discourse.org/u/saj)
#### Post date: [2018年十二月13日 05:55 UTC](https://meta.discourse.org/t/update-unread-counters-after-keyboard-navigation/104167/1 "2018-12-13T05:55:43Z")

</div>

Let’s walk through a simple read workflow:

1. Start at Latest.
2. Using the mouse, navigate into a tracked topic. Read the topic.
3. Using the mouse, navigate back to the Latest index by clicking on the logo at the top of the page.

When navigating with the mouse in this way, Discourse will automatically update the unread counters alongside the topic titles in the index.

Now repeat with keyboard navigation:

1. Start at Latest.
2. Using the keyboard (J, K, and RETURN), navigate into a tracked topic. Read the topic.
3. Using the keyboard, strike the U key to return to the Latest index.

In this latter case, the unread counters are **not** automatically updated.

This feels like a case of cache incoherency. Is it fixable?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年十二月13日 07:37 UTC](https://meta.discourse.org/t/update-unread-counters-after-keyboard-navigation/104167/2 "2018-12-13T07:37:19Z")

</div>

> [@saj](#):
>
> Using the keyboard, strike the U key to return to the Latest index.

Isn’t this the same as using the back button in the browser? Try it and see. I don’t think keyboard is the relevant bit here.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2018年十二月13日 13:09 UTC](https://meta.discourse.org/t/update-unread-counters-after-keyboard-navigation/104167/3 "2018-12-13T13:09:05Z")

</div>

Do you get the same result if you return to latest with “gl”?

---

<div class="post-metadata">

### Author: ![saj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saj/32/523935_2.png) [@saj](https://meta.discourse.org/u/saj)
#### Post date: [2018年十二月13日 13:15 UTC](https://meta.discourse.org/t/update-unread-counters-after-keyboard-navigation/104167/4 "2018-12-13T13:15:09Z")

</div>

On second look, this does not appear to be reliably reproducible. Unread counters are updated and redrawn on _some_ occasions. This is clearly not a UX problem. I’ll close out this topic and see if I can hone in on the conditions under which it does not work as expected. My apologies for the noise.

---

<div class="post-metadata">

### Author: ![saj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saj/32/523935_2.png) [@saj](https://meta.discourse.org/u/saj)
#### Post date: [2018年十二月13日 13:15 UTC](https://meta.discourse.org/t/update-unread-counters-after-keyboard-navigation/104167/5 "2018-12-13T13:15:20Z")

</div>


