# תוסף הצ'אט לא מבין מיקוד בלשונית

**URL:** <https://meta.discourse.org/t/chat-plugin-doesnt-understand-tab-focus/357426>\
**Category:** Bug\
**Tags:** chat\
**Created:** [16 במרץ,‏ 2025,‏ 4:12am UTC](https://meta.discourse.org/t/chat-plugin-doesnt-understand-tab-focus/357426 "2025-03-16T04:12:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![SkyeDragon](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@SkyeDragon](https://meta.discourse.org/u/SkyeDragon)\
**Post date:** [16 במרץ,‏ 2025,‏ 4:12am UTC](https://meta.discourse.org/t/chat-plugin-doesnt-understand-tab-focus/357426/1 "2025-03-16T04:12:05Z")

</div>

Basically, the chat plugin doesn’t factor in whether the browser tab is currently focused/active.

# Impact

Lost notifications and missing unread count in title bar.

# Repro steps

Tested in firefox on latest 3.5.0.beta2-dev

1. User A + B is logged into discourse and DMing each other using chat plugin.
2. User A has the chat open, but in another tab.
3. User B sends message to user A.
4. User A’s tab briefly shows “(1)” to show the new message but quickly hides it one second later.
5. User A does not receive a desktop notification.

Note: If User A does not have the chat window open but is otherwise still on discourse, the (1) in titlebar remains correctly and a system notification is displayed.

# Expected behavior

If the tab isn’t visible/focused (whether that’s because it’s tab #29 or buried behind several other windows), as a user I want to receive notification.

* * *

Thank you!

---

_[View the full topic](https://meta.discourse.org/t/chat-plugin-doesnt-understand-tab-focus/357426)._
