question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Click & Drag Selection on Patch Changes

See original GitHub issue

Current behaviour: When selecting Patch all lines are checked. The only way to change the selection is to click on all checkboxes of the lines that should be deselected. To me this feels very inefficient and a little bit annoying, especially with long commits (>100 lines) which need patching the most.

Feature proposal: Make it possible to select or deselect multiple lines at once by clicking and holding on the first checkbox and releasing the mouse on the last line. To make this feature easier to understand and find it would be nice if the state of the checkboxes would change while moving the mouse around.

More ideas: It would be nice if the clickable area of the checkboxes would be a little bit bigger (maybe a square which fills the whole height of the line). A button which selects/deselects all checkboxes would also be very useful.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
simonwilescommented, Sep 22, 2020

I’ve actually written a simple ~15 line change which allows clicking (or tapping) any part of the line to toggle the checkbox. I’ve was gonna tidy it up and offer it as a PR but life is coming at us all rather fast at the minute, huh… It doesn’t have any dragging support, but it’s a really simple change that improves usability considerably in the kind of scenario @Sogolumbo is describing (at least, for me imo). It doesn’t implement the fancy UI described here (which sounds cool btw), but I reckon it’s one of those 80/20 things – it eases a lot of the pain with a minimally invasive intervention. If no ones actually currently working on a more involved solution to this issue, it might be a worthwhile halfway house in the interim?

1reaction
wmertenscommented, Sep 18, 2020

How about a select strip: when you use the mouse you need to click and drag to toggle lines. For touch, you simly need to touch and drag. The first state you toggle is the one that is repeated across the drag. That seems very fast to me.

It needs to be a strip because otherwise you can’t scroll any more on touch surfaces.

And if you hit a screen boundary, it scrolls the window for you while continuing the drag?

Read more comments on GitHub >

github_iconTop Results From Across the Web

RTS-Style Drag Select, Click to Select/Deselect, and Movement
Learn how to implement RTS-style drag selection, point and click selection, shift+ click to select and deselect new units, and issue movement ...
Read more >
Drag to select Text in fields broken with update
Drag to select Text in fields broken with update. In the properties panel we are no longer able to drag to select the...
Read more >
Ciick + Drag Game Crash - General Discussions
I am playing on 0.5.2, Windows 64 bit version, and now every time I try to click+drag to select units the game crashes....
Read more >
no left-click drag selection in list view · Issue #231 - GitHub
I'm running caja 1.6.2 on linux mint 13 and the icon and compact views have the ability to select multiple files/folders simply by...
Read more >
drag selection - asmaloney.com
The changes will appear in Qt 5.5, but they will not be backported to Qt4. I have, however, created patches for both if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found