Skip to content

Clocks don't correctly reset during correspondence games #1955

@poliver

Description

@poliver

What is the problem?

I am playing a correspondence game with 1 day per turn. I have the game open and do not leave the game for the following turns. Timestamps in this scenario are for simplicity.

Say I am white, I have just played, and I am waiting for black to play. Black's clock reaches 23:55 and they play their turn. The expected behavior is that black's clock should reset to One day, however it will sometimes keep decrementing. I then play my (white's) turn immediately. Black's clock now reads 23:54, when it should read 23:59. If I leave the game and come back, the clocks are correct.

This appears to occur intermittently, and affects both black's and white's clocks at any given time.

I only really play correspondence, so I'm not sure how this bug manifests in other game types.

Steps to reproduce the bug

  1. Create a correspondence game with 1 day per turn
  2. Start as white and play your turn.
  3. Black's clock should now read 23:59. White's clock should read One day
  4. Keep the game open
  5. Allow some time (a couple minutes) to elapse before black plays their turn
  6. Repeat step 5 for each player until clocks are incorrect.

App version

0.16.4

Device Info

iPhone 15 Pro / iOS 18.5

Additional information

Screenshots are consecutive moves in a real game. Clocks don't reset to One day.

Move 27 Move 28
Image Image

If I leave the game screen and come back, the clocks are correct:

Move 28
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions