Chatbox Suggestion

Status

Nagi

PM Only - No Skype
Supreme
Feedback score
12
Posts
535
Reactions
679
Resources
0
Hello,

I have a tendency to have multiple tabs of MCM open.
When I leave my computer on for a long duration of time (Going to School, Sleeping in Bed, etc), the browser starts to REALLY LAG.

I took a look at the sources and it is because, the stupid shoutbox, does not have a rate limit.
For instance, if I left a tab out for about 12 hours, the shoutbox would not rate the amount of message that it shows.

As a result, each refresh would result in the site having to render about 2k messages at once (+- based on how long I've left it open), lagging my entire browser.

For instance, compare the size of the scrollers on the chatbox in these tabs:
  • 1 was just refreshed.
  • 1 was left out for 10 minutes.
https://www.kthisiscvpv.com/TlMFP1456098634RSZH9.png
https://www.kthisiscvpv.com/A5Skk14560988899a1t4.png
The messages will keep dragging on and on.

Now you might say "why don't you just refresh the tab every now and then to fix the problem".
Well, my good friend, this is a 'Suggestions Section' for a reason.

I tend to play a match of LOL (I didn't say DOTA2 because I don't want to get flamed on here) the second I wake up and having to find out I have 60 fps because my Chrome's taking 50% of my RAM usage.

It shouldn't be that hard to fix and I doubt I'm the only one who's annoyed by this.

Thanks.
 
Type
Suggestion
Status
Denied
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Justis

Community Member
Management
Feedback score
61
Posts
2,117
Reactions
2,414
Resources
0
Yes, finally, thank you.

I started collecting screenshots about this and various other bugs just a few days after the new shoutbox was introduced...
But I was constantly distracted, and then I got shoutbox mod and well... I never made a post about it...
Of all the bugs, this was definately the worst one, for me.

It's a constant struggle every single day.

I keep a chrome window open with a shoutbox pinned to it in the back of every single desktop page on my mac.
And every single day, I have to make sure to constantly load a new shoutbox session, otherwise the tabs will start taking up too much memory, and my mac will freeze up.
I might as well use some of the pictures and gifs I made way back when...

For testing purposes, I used 4 shoutbox tabs, even though I normally have around 6-8 open.
Here's what it looks like when I've left them open for a while... Close them.. And then reopen them with the same browser data.
b2427960bb6116cf5a6ded0556363b5b.png

You can see how much this effects my computer...
Here's what a refresh of all my chatbox tabs looks like.
96b8c29b88a610aae97c4b0d1e8d5860.png
And my power usage... Oh my lord...
f3885a43bb28c0e3d5ed3d489026f201.png


Is it any surprise that this has happened more times than I can count:
221f8e36f8fe13b61b7adcab2e02ee0c.png


Often times, when I'm just watching shoutbox in the background, and somebody says something that requires my amazing Justis powers... I click on the tab to type my magical words, only to find out that.... One...
ae45eb227e9844de5f7fc0f70ed35d6f.gif

They take forever to show up typing it....
And two...
01698e5962316f50aea60b83ac53bcf6.gif

The messages just don't send. ;-;

This makes moderating duties almost impossible...
Because I have to shut down every single one of my shoutbox tabs to get rid of the lag, and then open a new one before I can deal with whoever is spamming/flaming/etc.

This is all the result of shoutbox building up messages in the user's browser cache, I'm sure.
The longer and the more people talk... The larger the history.
I can scroll up in chat and see for as far as the window was open for.
So many messages are causing unbearable lag.

Not to mention the duplicated messages....
Which I can't even tell you how many times I've almost kicked someone for spamming....
2ced982c0ffeb790b01def8a826e7554.gif
I don't even know how that happens...

Anyways...
This is more of a bug than anything else.
But it definitely needs to be resolved.

Thanks @OP for pushing me to make use of about 5% of the pictures and gifs I took. :p
 

tjrgg

Supreme
Feedback score
1
Posts
998
Reactions
837
Resources
0
What I've done is modified the refresh rate of chat for inactive sessions. I'm not sure if this will completely resolve the issue here, but there's not much else that can be done about it from our end. I will speak with the developer to see if they can do something about this behavior though, but I'm not making any promises.

Apologizes for the annoyance, but not everything can be perfect, I'm sorry to say. ;)
 

Nagi

PM Only - No Skype
Supreme
Feedback score
12
Posts
535
Reactions
679
Resources
0
What I've done is modified the refresh rate of chat for inactive sessions. I'm not sure if this will completely resolve the issue here, but there's not much else that can be done about it from our end. I will speak with the developer to see if they can do something about this behavior though, but I'm not making any promises.

Apologizes for the annoyance, but not everything can be perfect, I'm sorry to say. ;)
nvm.
 
Status
Top