mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
66 stars 20 forks source link

Allow multi selection of Spots in TrackScheme Window with Keyboard #239

Open stefanhahmann opened 1 year ago

stefanhahmann commented 1 year ago

User Story

As a user I would like to be able to select multiple spots in the TrackScheme Window using the Key combination Ctrl+Shift + Up, Down, Right, Left. I would like to do so, because in some situation, I would like to select Spots from exactly timepoint (e.g.) 30 up to excatly timepoint (e.g.) 60.

Currently, I can draw a box to select multiple Spots. However, it is difficult to match an exact timepoint, when the project is large:

GIF 20 04 2023 12-04-33

Or, I can select a single Spot and the press Shitf + Up, Down, Right, Left leading to this selection behaviour (note that while pressing + in the right row does only select the Spots in that rows, but not in the previously selected rows):

GIF 20 04 2023 12-06-37

I would like to have the Selection with Ctrl+Shift + Up, Down, Right, Left to work like in Excel Spread Sheet:

manuelle multiselection

This behaviour would allow me to make precise selections of spots regarding timepoints.

tinevez commented 1 year ago

Looks good, but could you instead add a new action that does that, with a different keybinding? I would like to keep the shift+arrow behavior.

stefanhahmann commented 1 year ago

Looks good, but could you instead add a new action that does that, with a different keybinding? I would like to keep the shift+arrow behavior.

Okay. I modified the issue. Any suggestion, which keybinding should be used for this?

tinevez commented 1 year ago

Maybe Ctrl+Shift+arrows?

stefanhahmann commented 1 year ago

Maybe Ctrl+Shift+arrows?

Updated the issue.