Bug 480829 - Can't drag video from project bin to timeline track, after adding subtitle
Summary: Can't drag video from project bin to timeline track, after adding subtitle
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: git-master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 480918 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-04 06:20 UTC by red_Arti
Modified: 2024-02-06 17:17 UTC (History)
2 users (show)

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


Attachments
drag-clip-bug-qt6 (788.42 KB, video/mp4)
2024-02-04 06:20 UTC, red_Arti
Details
Clip_after_Subtitle (4.22 KB, text/plain)
2024-02-05 19:59 UTC, emohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description red_Arti 2024-02-04 06:20:29 UTC
Created attachment 165524 [details]
drag-clip-bug-qt6

SUMMARY
If there's subtitle, can't directly drag video clip from project bin to track. The track disallows drop.
Only after the mouse touches status bar, the track allows drop.

STEPS TO REPRODUCE
1. Create project
2. Add a subtitle
3. Try to drag a video clip from project bin to timeline

OBSERVED RESULT
Timeline track refuse mouse drop. So you can't add video clip to it.
If you move drag the video down to status bar, then back to timeline , then it allows.

EXPECTED RESULT
Timeline track accepts mouse drop

SOFTWARE/OS VERSIONS
24.04.70.  kdenlive-master-7375-linux-gcc-x86_64.AppImage (git 8870cce9) Qt6
Notice: The Qt5 build doesn't have this bug (same commit). Just Qt6

My system:
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: X11


ADDITIONAL INFORMATION
Comment 1 emohr 2024-02-05 19:59:45 UTC
Created attachment 165577 [details]
Clip_after_Subtitle

Thank you for reporting. I can confirm the issue following your steps with just a color clip. Attached the DebugView output.
Comment 2 emohr 2024-02-05 20:02:01 UTC
Tested with Windows Kdenlive-master-qt6.
Comment 3 Jean-Baptiste Mardelle 2024-02-06 07:59:13 UTC
Git commit 9b172c9ba14a5fce575132d94a91cee577134380 by Jean-Baptiste Mardelle.
Committed on 06/02/2024 at 07:58.
Pushed by mardelle into branch 'release/24.02'.

Fix Qt6 dragging clips with subtitle track visible

M  +16   -12   src/timeline2/view/qml/timeline.qml

https://invent.kde.org/multimedia/kdenlive/-/commit/9b172c9ba14a5fce575132d94a91cee577134380
Comment 4 Jean-Baptiste Mardelle 2024-02-06 08:08:06 UTC
*** Bug 480918 has been marked as a duplicate of this bug. ***
Comment 5 emohr 2024-02-06 17:17:27 UTC
With latest commit the issue is fixed on Qt6.