Bug 437009

Summary: Previous selection lost when dragging and selecting clips in timeline
Product: [Applications] kdenlive Reporter: Mazin07 <mazin07+kde>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED NOT A BUG    
Severity: task CC: fritzibaby, julius.kuenzel
Priority: NOR Keywords: junior-jobs
Version First Reported In: 21.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mazin07 2021-05-13 04:23:49 UTC
SUMMARY

The currently selected clips on the timeline are lost when shift-dragging to select more clips. Since shift means to add to the existing selection (e.g. when shift-selecting clips one by one), both the original selection and new selection should be selected.

STEPS TO REPRODUCE
1. Add multiple clips to a timeline. 
2. Select one clip.
3. Hold shift and drag to select other clip(s)

OBSERVED RESULT

The first clip selected is now unselected.

EXPECTED RESULT

The first clip should still be selected, and the clips that were selected by the selection box should also be selected, since the shift key was held down.

SOFTWARE/OS VERSIONS

Kdenlive AppImage 21.04.0
KDE Frameworks 5.81.0
Qt 5.14.2 (built against 5.14.2)

ADDITIONAL INFORMATION
Comment 1 emohr 2021-05-18 16:41:02 UTC
This is intended. Shift+drag open a window for selection. Shift+click for selection of multiple clips. In 21.04.0 if you hover over the timeline on the bottom left you see this information.
Comment 2 Mazin07 2021-05-18 17:25:31 UTC
(In reply to emohr from comment #1)
> This is intended. Shift+drag open a window for selection.

I am not disagreeing with this statement, only whether shift+drag should preserve your existing selection or not.

I don't know of any programs that have Kdenlive's behavior of not preserving your existing selection when shift+dragging. But here are some that do preserve your existing selection when shift+dragging:

* Blender (including VSE)
* Inkscape
* LibreOffice
* Google Slides

I think if Kdenlive decides to go against convention, there should be a good reason, and I'd like to know what that reason is. Thanks for your consideration.
Comment 3 emohr 2021-05-18 17:54:33 UTC
OK I get your point. I think it's reasonable. So shift+drag should add clips in any case and should not disable already selected clips.
Comment 4 Julius Künzel 2021-07-02 08:34:33 UTC
I agree that we should maybe rethink the selection system a bit, but until we do so you can use Shift+Ctrl+Drag to don't lose the previous selection