LiveTL / HyperChat

Improved YouTube chat with CPU/RAM optimizations, customization options, and cutting-edge features!

Home Page:https://livetl.app/hyperchat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: The chat is wiped out randomly

eight04 opened this issue · comments

commented

Checklist

  • This is an issue for Hyperchat, not LiveTL. I will go to the LiveTL repo to report an issue with LiveTL.
  • This issue is not a matter of opinion. If it is, I will use the feature suggestion issue template.
  • I have checked for a duplicate or similar issue. I made sure to check closed issues as well.
  • I am still able to reproduce the issue after I reinstall the extension.
  • I have clear instructions to reproduce the bug, even on another machine.
  • I am not suggesting a feature. If I am, I will use the feature suggestion issue template.
  • By submitting this issue, you agree to follow our Code of Conduct

Describe the bug

The entire chat becomes blank randomly.

Steps To Reproduce

While this happens randomly, but seems that you can reproduce it while switching tabs:

  1. Open a stream archive e.g. https://www.youtube.com/watch?v=pv6WndTSb8M
  2. Wait until hyper chat is running.
  3. Switch to another tab, wait one minute.
  4. Switch back to the stream tab.
  5. All messages disappear.

If you wait another minute, there will be some new messages popping out.

Expected behavior

Hyper chat shouldn't clear the entire chat.

What browsers are you seeing the problem on?

Firefox

Anything else?

While investigating the issue, I found that I got some messages like Video scrubbed or skipped, forcing chat clear from the background console.

Does it mean that all messages will be deleted when there is a browser lag? I also noticed that when switching tabs. the video freezes like 0.1s (the audio doesn't lag at all) before all messages disappear.

Fixed in 5db4dad.