Revision on https://github.com/odoo/odoo/commit/cd34f6de727d5b3858420cff3c9d3c5995c4e75c Before this commit, when receiving a new message from a new DM or livechat, the newly opened chat window was automatically focused and marking messages as read. Chat windows that are automatically opened without any user interaction, such as when receiving a new message from a chat, should not be focused. Those chat windows are "passive", and the user must click on them in order to have focus and mark messages as read (the chat window is no longer passive as a result). The bug has been introduced by the refactoring from the commit above. In fact, there was a very short period of time during which the chat window was passive. However, due to the way chat window server-side state synchronization works, the chat window was automatically closed then re-opened. This resulted in some visual flickering of the chat window ('open' > 'close' > 'open'), and the conversation was automatically marked as read. This was a consequence of the actions 'open' > 'close' > 'open' that removed the passive property of the chat window. Chat window server-side synchronization relies on a notification that tells the state of the conversation. Due to bad design, this notification had exactly the same format as the one for notifying all browser tabs of a newly joined conversation. This commit fixes the issue by distinguishing "channel join" and "chat window state" notification, so that the former is not treated as a chat window notification. It fixes the problem because it was precisely the "channel join" notification that caused the chat window to close and loose its passive property. Task-ID 1914735 opw-1914371 closes odoo/odoo#29223
Odoo Enterprise Social Network
Connect with experts, follow what interests you, share documents and promote best practices with Odoo Enterprise Social Network. Get work done with effective collaboration across departments, geographies, documents and business applications. All of this while decreasing email overload.
Connect with experts
Next time you have a question for the marketing, sales, R&D or any other department, don't send an email blast-post the question to Odoo and get answers from the right persons.
Follow what interests you
Want to get informed about new product features, hot deals, bottlenecks in projects or any other event? Just follow what interests you to get the information you need what you need; no more, no less.
Get Things Done
You can process (not only read) the inbox and easily mark messages for future actions. Start feeling the pleasure of having an empty inbox every day; no more overload of information.
Promote best practices
Cut back on meetings and email chains by working together in groups of interests. Create a group to let people share files, discuss ideas, and vote to promote best practices.
Improve Access to Information and Expertise
Break down information silos. Search across your existing systems to find the answers and expertise you need to complete projects quickly.
Collaborate securely
Set the right security policy; public, private or on invitation only -- according to the information sensitivity.
A Twitter-like Network For My Company
Make every employee feel more connected and engaged with twitter-like features for your own company. Follow people, share best practices, 'like' top ideas, etc.