…tos count
dont_ask_again_moves_the_next_drop_at_once read the home row's rect one
frame after the first move. The move changes the Missing Photos count,
which a worker takes: a count already running when beach.png moved finds
its old path empty and adds the Missing Photos row, and the recount takes
it away. Each shifts every folder row below it by one row, so on a busy
machine the second drop, aimed at the rect read before the count landed,
went to the folder above (dunes.png moved into the parent folder) or to
trip ("Already in"). Waiting longer for home/dunes.png could not help.
The test now settles the sidebar before reading the row, as other
sidebar tests do, and runs with a slow count so the race happens on
every run: it checks that the row stays put for longer than the count
takes. Without the settle it fails every time ("home stays where the
drop aims"). The move is synchronous, so the 20 s wait from #3834 is
replaced by an immediate check that prints the toast, and the drag
checks the drop hint before releasing.
dont_ask_again_moves_the_next_drop_at_oncechecked for the moved file on the frame right after the drop. On busy Windows runners that failed on the gates of #2170 and #2206, while the rest of those runs passed.The test now gives the file up to 20 seconds to arrive, stepping the app meanwhile. It still requires that no question was asked. Only the test changes.
The result is this PR's own CI. Windows runs on the PR's
gate-windowsjob.🤖 Generated with Claude Code
Summary by CodeRabbit