online-go / online-go.com

Source code for the Online-Go.com web interface
https://online-go.com/
GNU Affero General Public License v3.0
1.24k stars 346 forks source link

Browsers tab name resets from "Chat" to "OGS" when changing chat channels #2014

Open kobakitty opened 2 years ago

kobakitty commented 2 years ago

Describe the bug When you open/refresh the chat on a tab, the tab is named as "Chat", but when you then check any other channel inside that tab the name resets to "OGS"

To Reproduce Steps to reproduce the behavior:

  1. Go to chat
  2. Click on any other chat channel you are on the channels list on left side (beside the default channel you had open when opening the chat)
  3. See the name of the tab/window in your browser

Expected behavior Not rebranding the chat to "OGS" but keep it as "Chat"

Screenshots

Screenshot 2022-09-30 at 12 30 13

Turns into:

Screenshot 2022-09-30 at 12 29 09

Server side thing, happens for all OS's and browsers

Additional context I thought this had been reported previously too, but wasnt able to find any github issue or forum topic about it

kobakitty commented 2 years ago

I just realised that this appears to be connected to the scollbug in chat, whenever chat's name gets reseted to "OGS" chat stops automatically scrolling with new messages.

anoek commented 2 years ago

Interesting, possibly related to what happens when the connection gets dropped and reestablished would be my hunch