Repository navigation
fix(selection): preserve marquee and tap-drag intent - #2096
Conversation
Share the confined sidebar splitter between browser and chooser, keeping its hit area confined in rail mode. Own the second pointer press in the existing row gesture group so drag sources remain eligible and activation waits for release. Add real file/folder tap-drag and chooser regressions, expose the existing localized sidebar action as an accessible description, and refresh a stale context-menu baseline confirmed byte-identical on the unchanged base. Fixes lgse#2095
…aims Move PointerSequence::claim_double_press into its own submodule and reuse the columns row picks_editable helper instead of duplicating it, so collection_interaction.rs stays at main's CodeScene score (8.73) instead of dropping to 8.21.
Review and cleanupMerged Review against the description and #2095. I checked each claim against the code and confirmed it:
The PR had no earlier review comments or threads. Fixes pushed
Tests removed: none. The three new QA scenarios each cover a distinct route. I broke the fix on purpose to check them: with the double-press claim disabled and the chooser split reverted to a narrow handle, all 18 runs fail with their intended messages (early launch or accept, sidebar resize instead of marquee, folder not dragged). Validation
CI: every check is green on |
Description
Share the browser's confined sidebar splitter with the chooser, including compact rail mode. Reuse the existing grouped row gestures and movement-aware release handlers so a held second tap can start a file/folder drag instead of activating on press. Keep ordinary double-click and keyboard activation, and the chooser's existing operation restrictions. Refresh one stale context-menu visual baseline after confirming the unchanged base produces the same image.
Visual evidence
drag-selection-fix.mp4
How to test
Expected result: Blank space starts marquee selection; only the divider resizes. Tap-drags transfer in the manager without opening items, and do not accept the chooser. Ordinary double-clicks activate on release and keyboard activation still works.
Actual touchpad/libinput and Wayland behavior remain unverified; the isolated recording and reproductions use the mouse-equivalent X11 event sequence. The owner explicitly authorized pushing without CodeScene because its token is unavailable; local code-health scores remain unverified.
Related issue
Closes #2095