Bug 481325

Summary: Draging from bin to timeline, it adds wrong clip to timeline
Product: [Applications] kdenlive Reporter: red_Arti <jijiliu35>
Component: User InterfaceAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git-master   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:

Description red_Arti 2024-02-14 14:46:13 UTC
SUMMARY
Add clip from bin to timeline, by drag & drop.
If there's subtitle showing, Kdenlive will add wrong clip to timeline.

(If you drag and move the mouse to touch status bar, then move back to timeline, it will become the right clip)


STEPS TO REPRODUCE
1. Create project
2. Add x.png and x.mp3 to project bin
3. Add a subtitle
4. Try to drag&drop adding picture or audio to timeline. Try many times, with different clip

OBSERVED RESULT
 It adds wrong clip to timeline.

EXPECTED RESULT
It shoud add the clip I drag.

SOFTWARE/OS VERSIONS
Git master ci build kdenlive-master-7453-linux-gcc-x86_64.AppImage (Qt6)

ADDITIONAL INFORMATION
If you drag a clip from bin and move the mouse to touch status bar, then move back to timeline, it will become the right clip
Comment 1 Jean-Baptiste Mardelle 2024-02-14 17:08:12 UTC
Git commit 4c9eca8adca13394392328210f5737b9d409a631 by Jean-Baptiste Mardelle.
Committed on 14/02/2024 at 17:06.
Pushed by mardelle into branch 'release/24.02'.

Fix wrong clip dropped on timeline when subtitle track is visible

M  +2    -2    src/timeline2/view/qml/timeline.qml

https://invent.kde.org/multimedia/kdenlive/-/commit/4c9eca8adca13394392328210f5737b9d409a631