Bug 486562 - odd behavior when applying a transition on two clips on the same track
Summary: odd behavior when applying a transition on two clips on the same track
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-04 11:59 UTC by q.ignora
Modified: 2024-05-07 16:26 UTC (History)
1 user (show)

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


Attachments
Video testing drag a transition on two different version (3.54 MB, video/mp4)
2024-05-04 11:59 UTC, q.ignora
Details

Note You need to log in before you can comment on or make changes to this bug.
Description q.ignora 2024-05-04 11:59:38 UTC
Created attachment 169182 [details]
Video testing drag a transition  on two different version

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
odd behavior when applying a transition on two clips on the same track

STEPS TO REPRODUCE
1. Create two colour clips, drag to the same time line
2. try to drag a transition in between both clips, for example push down, up, etc
3. 

OBSERVED RESULT
* work in kdenlive 23.08.x
* don't work in kdenlive 24.x.x
* in daily versions some work, some don't. For example in     kdenlive-master-7288-linux-gcc-x86_64.AppImage works ok 

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Ubuntu 22.04.4 LTS (Jammy Jellyfish)  (APPimages)
(available in About System)
KDE Plasma Version:  5.24.7
KDE Frameworks Version: 
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Bernd 2024-05-07 16:26:14 UTC
(In reply to q.ignora from comment #0)
> SUMMARY
> odd behavior when applying a transition on two clips on the same track
> 
> STEPS TO REPRODUCE
> 1. Create two colour clips, drag to the same time line
> 2. try to drag a transition in between both clips, for example push down,
> up, etc
> 3. 
> 
> OBSERVED RESULT
> * work in kdenlive 23.08.x
> * don't work in kdenlive 24.x.x
> * in daily versions some work, some don't. For example in    
> kdenlive-master-7288-linux-gcc-x86_64.AppImage works ok 

First, you can only drag a Composition to the timeline. Second, a composition needs two individual and adjacent tracks to work. So if you want to drag a composition/transition from the Compositions widget to the timeline you need to have the clips in, say, V1 and V2.

If you want to use same-track transitions, you have to create a Mix between the two adjacent clips by clicking on the Mix icon in the Timeline Toolbar (it looks like a checkered flag). This creates a same-track transition of type Dissolve by default, but you can change that by clicking on the Mix and select the method.

Having said this, I agree with your expectation that when a composition is dragged onto two adjacent clips, Kdenlive should treat that as a Mix. However, we then need a way to differentiate between a composition of adjacent clips in different tracks and adjacent clips in the same track. Perhaps the former is "selected" when the composition is dropped anywhere on the clip, the latter when the composition is dropped exactly at the cut.