Skip to content

Create a range selection in list views by dragging with the mouse#5856

Open
stefanhaller wants to merge 2 commits into
autoscroll-when-dragging-range-selection-in-staging-viewfrom
drag-to-select-range-in-lists
Open

Create a range selection in list views by dragging with the mouse#5856
stefanhaller wants to merge 2 commits into
autoscroll-when-dragging-range-selection-in-staging-viewfrom
drag-to-select-range-in-lists

Conversation

@stefanhaller

Copy link
Copy Markdown
Collaborator

Like in the staging view, drag with the mouse in a list view to create a non-sticky range selection (including auto-scrolling as the mouse reaches the view edge).

@stefanhaller stefanhaller added the enhancement New feature or request label Jul 25, 2026
Dragging with the left button held now extends the selection from the
pressed line, exactly like moving with shift+up/down does. We use the
non-sticky flavor so that the range collapses on the next plain cursor
movement, again matching the keyboard behavior.

The binding is only registered for contexts that support range
selection in the first place; dragging in other lists continues to do
nothing.
Give the list views the same edge autoscroll during drag selection
that the staging view already has; the new mouse-release binding stops
the autoscroll when the drag ends.
@stefanhaller
stefanhaller force-pushed the autoscroll-when-dragging-range-selection-in-staging-view branch from adf5f23 to ce69de0 Compare July 25, 2026 16:14
@stefanhaller
stefanhaller force-pushed the drag-to-select-range-in-lists branch from d952ae8 to cc47740 Compare July 25, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant