lichess-org / mobile

Lichess mobile app v2
GNU General Public License v3.0
1.23k stars 177 forks source link

New opponent button doesn't work in latest release #674

Closed EmmetSchuler closed 4 months ago

EmmetSchuler commented 4 months ago

What is the problem?

After playing a game, the new opponent button will send you to the queue screen, although no games will be paired, with an indefinite wait time.

Steps to reproduce the bug

Play a 5+3 blitz match At the game result page, tap the new opponent button

What did you expect to happen?

You should be taken to the queue screen, and be paired into a new game.

What happened instead?

The queue screen hangs indefinitely, with no game pairs. You will also notice that the player count stats and online players do not update their counts, instead remaining static.

Device Info

Pixel 6

Operating System Version

Android 14

Additional information

No response

veloce commented 4 months ago

I tried to reproduce but with no success. Do you consistently reproduce, can you share more information on this bug? thanks!

EmmetSchuler commented 4 months ago

As far as I've tested, it's always reproducible for me, even on multiple wifi networks and on data. It also appears in every time mode I've tested. It seems to only misbehave when trying to use it right after a game has concluded, and still misbehaves after using the analysis board after a game. Revisiting a concluded game and choosing the new opponent button does work, however A video here shows the issue. https://github.com/lichess-org/mobile/assets/108140722/6c9b8fe4-cbda-4f67-8d46-b1a519f9008f

EmmetSchuler commented 4 months ago

The issue also affects aborted games, where requesting a new opponent takes you to the same static screen.

NewSupKaizo55 commented 4 months ago

Okay, I didn't make a screen recording but I can successfully reproduce it. The device is Redmi Note 10 5G with Android 13 / MIUI 14.

veloce commented 4 months ago

Ok i do reproduce now in prod. I was not able to reproduce in debug mode locally though but I will continue to investigate.

I suspect this comes from the new API to cancel a game seek.