lichess-org / mobile

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

Engine Suggestions and current Position not in Sync #1217

Open HaonRekcef opened 10 hours ago

HaonRekcef commented 10 hours ago

What is the problem?

Cached move suggestions are replaced by engine calculations for a position that does not match the current board.

Steps to reproduce the bug

  1. Open an analysis board.
  2. Set the search time to a fixed amount (e.g., 6 seconds).
  3. Allow the engine to calculate in the initial position for more than 6 seconds.
  4. Make a move to change the position.
  5. Return to the initial position.
  6. Observe that the engine is suggesting moves for Black

Video: https://github.com/user-attachments/assets/c437969d-dc07-4001-a161-8c86dbfa4eed

App version

0.13.4

Device Info

-

Additional information

No response

Boubou78000 commented 10 hours ago

Duplicate of #1184

veloce commented 8 hours ago

Keeping this one as it has a better description. Thanks for the report @HaonRekcef , I think it is a regression due to the new search time parameter. Will investigate.