Bug 437009 - Previous selection lost when dragging and selecting clips in timeline
Summary: Previous selection lost when dragging and selecting clips in timeline
Status: RESOLVED NOT A BUG
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: 21.04.0
Platform: Other Linux
: NOR task
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2021-05-13 04:23 UTC by Mazin07
Modified: 2023-11-06 14:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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