Drop action cancelled/ignored

Open
#2,016 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
dart, flutter
Domain
mobile

Research direction

Start by reproducing the issue in a new puzzle on Android 16 with the bot's line calculated, then play moves quickly while the bot responds. Trace the puzzle drag-and-drop flow and the simultaneous bot-move handling; done means a valid drop is accepted without requiring the user to repeat the move.

Written by the indexing model from the issue text.

Description

What is the problem?

Hello,

When solving puzzles (at least) It seems that when I'm dragging a piece to make a move, and the bot plays its move simultaneously, my drop action is "cancelled"/"ignored".
This forces me to re-do the move, which is quite annoying/frustrating.

Steps to reproduce the bug
  1. Start a new puzzle
  2. Calculate the whole line
  3. Play your moves quickly, sequentially

=> Your drop action won't work and you will need to re-do your move.

App version

0.16.7

Device Info

Pixel 9 pro xl / android 16

Additional information

No response

Dominant language
Dart
Stars
2.6k
Forks
498
Avg merge
2d 23h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lichess-org/mobile

All issues in lichess-org/mobile

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.