tetrio / issues

Report issues and discuss improvements / feature requests around TETR.IO
https://tetr.io
392 stars 21 forks source link

Abnormal menu behavior when in network lag. #1053

Closed nphuracm closed 1 year ago

nphuracm commented 1 year ago

Checklist

OS and Version

Windows 11 22000

Browser and version

TETR.IO Desktop v8

Describe the bug/issue

When one finds an opponent in Tetra League, there is a shutter effect before the game is initiated. If a network lag happens for long enough around when the shutter is about to open and the game is about to begin, chances are that the "MATCH FOUND" drop-down would linger, and if the user clicks it, the Tetra League matchmaking menu would appear just as that game commences. Multiple layers of said menu would also come out at once when the game starts if the user clicks the said drop-down multiple times. The user would be able to navigate freely in this menu, but:

Reproducing

  1. Initiate a Tetra League match in a less-than-ideal network condition, i.e. Mainland China.
  2. Look at the found opponent's profile.
  3. Wish for a network lag to happen just around when the shutter opens :(
  4. During the lag, The "MATCH FOUND" drop-down would linger. Click it just like a panicked user.
  5. When the game starts ("TETRA LEAGUE" ticker and boards appear), the situation described above in the description section would appear.

Expected behavior

Nothing should happen after the panic clicking, and the first round should go smoothly with nothing from the game itself interfering.

Screenshots

No response

Console logs

Additional context

Since this issue involves panic clicking, there is a chance that it's just my own fault for not being calm when something happens. If an issue caused by user behavior like this one is unwelcome please let me know. Thanks.

github-actions[bot] commented 1 year ago

This bug report has not seen any activity in a while. If the issue is still relevant, please comment on it or the issue will be automatically closed. This way, the issue tracker can be kept clean. Thank you!