views: drag from empty space to select with a box

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-25 23:02:37 -06:00
commit 39ed73cf5d

View file

@ -318,5 +318,10 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
- Verified: release build; rename of a long name in the grid and the location bar under Xvfb.
- Not done: no test run; password fields and arrow / Home / End keys not tried.
## Selection box (user request)
- Done: a drag from empty space in a folder draws a box and selects what it covers (`BandBox` in details-view.slint, `FolderModel::band`); Ctrl/Shift flips items in the old selection; the list scrolls past its top or bottom edge; status line follows. Probe: `xdnd_probe press`.
- Verified: clippy, release build; box in grid and details view under Xvfb, status "3 of 4 selected".
- Not done: in the details view a drag on a row still drags the file (no box from a row's blank columns); a plain click on empty space still keeps the selection; no test run.
## Later
-