KeymashGame / game-tracker

Official Bugtracking Repository for all Keyma.sh issues
6 stars 0 forks source link

WPM stop counting when try to close the website tab #146

Closed quitsv closed 3 years ago

quitsv commented 3 years ago

Describe the bug (Sorry for my bad English) When I press cancel on the confirmation on closing the keyma.sh tab on my browser, the wpm and text counter stopped working and I could no longer be able to continue the race.

To Reproduce Steps to reproduce the behavior:

  1. Start a match
  2. Try closing the browser tab for keyma.sh website so the confirmation request pops out
  3. Cancel the confirmation
  4. Problem appears

Expected behavior The counter for WPM and words start to count again and I would be able to finish.

Screenshots image *notice that the counter for the word and the counter will stay the same after the bug. But, the timer will still be going.

Desktop

CameronCT commented 3 years ago

People heavily requested we added this. While the cancel option should dis-engage, it's a mixture of browser functionality that I can't overwrite and even if I did. It's very hard for me to force a user to reconnect to its exact state, this is why issues like #1 will likely not be resolved by me.

It's simply hard to create a disconnect management that can be even remotely reliable.