# New posts count in browser tabs broken

**URL:** https://meta.discourse.org/t/new-posts-count-in-browser-tabs-broken/112864
**Category:** Feature
**Created:** [3월 28, 2019, 9:00오후 UTC](https://meta.discourse.org/t/new-posts-count-in-browser-tabs-broken/112864 "2019-03-28T21:00:35Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [4월 2, 2019, 8:59오후 UTC](https://meta.discourse.org/t/new-posts-count-in-browser-tabs-broken/112864/17 "2019-04-02T20:59:15Z")

</div>

> [@ChrisBeach](#):
>
> I’m not seeing any count showing, despite having unread PMs and new posts in watched topics

The precise logic is described in the [PR description](https://github.com/discourse/discourse/commit/4e8c174ee524e752be45cdba15e754efeeca6023):

### Anonymous Behavior:

On topic list:

- Regardless of focus, browser title shows the count of topics waiting to be loaded (matches the “See N new or updated topic” banner)

On topic:

- IF tab is in the background, then increment the counter for each new post that arrives
- When focus is restored, reset the counter

### Logged in behavior

For logged in users:

- If tab is in the background, **and** a new notification arrives while the tab is in the background, display the total notification count in the title
- Hide the count when the tab is in the foreground

* * *

@ChrisBeach does this line up with what you’re seeing?

---

_[View the full topic](https://meta.discourse.org/t/new-posts-count-in-browser-tabs-broken/112864)._
