Make Copy to… and Cut to… the selection bar's actions
verify / gate (push) Has been cancelled
verify / release (push) Has been cancelled

The selection bar offered Copy and Move, which only filled an in-app clipboard; the
destination picker then lived behind an overflow menu, and Paste in the top bar. That
made a copy a two-step detour through another folder - the thing M16's picker exists to
avoid.

- The bar's two verbs are now Copy to… and Cut to…, both opening the destination picker.
- The clipboard state, Paste here, and the overflow's duplicate Copy to… / Move to… are
  removed. The picker's cut title and confirm are Cut to… / Cut here.
- A copy still keeps the selection for a second destination; a cut clears it. Conflicts
  still ask before overwriting, naming the picked folder.
- Five clipboard tests are removed; the mark, restart and undo tests now use the picker.
  BrowserTopBar's search and overflow sections are extracted so its two new detekt
  findings are fixed rather than baselined.

Driven on the Xiaomi phone: Copy to… copied 120 x 16 MB through Internal storage ->
AADemo -> Target and reported Copied 121 items to Target; Cut to… moved file001.bin and
offered Undo; a name in the way raised Items already exist here; the top-bar overflow
has no Paste. The foreground-service video was re-recorded against the new bar at 16.1 s.

Verified: ./tools/verify.sh green, the code map current, 426 unit tests pass, and the
video decodes as H.264 1080x2400 with no audio.
This commit is contained in:
2026-10-18 15:07:35 +02:00
parent f9305d1070
commit ddcd68b4b7
23 changed files with 322 additions and 417 deletions
+10 -10
View File
@@ -1,19 +1,19 @@
1
00:00:00,200 --> 00:00:03,000
Copy a 1.8 GB folder to another folder
00:00:00,200 --> 00:00:02,800
Copy a 1.8 GB folder with Copy to…
2
00:00:03,000 --> 00:00:06,500
Paste here starts a local copy
00:00:02,800 --> 00:00:06,200
Pick Internal storage, then AADemo
3
00:00:06,500 --> 00:00:10,000
The copy runs in the dataSync service
00:00:06,200 --> 00:00:09,600
Choose Target, then Copy here
4
00:00:10,000 --> 00:00:12,500
The ongoing notification reports progress
00:00:09,600 --> 00:00:14,200
The foreground service reports progress
5
00:00:12,500 --> 00:00:17,900
Done: the folder is at the destination
00:00:14,200 --> 00:00:16,000
Done: Copied 121 items to Target