Bug 502610 - Clip Mixing stopped working on project
Summary: Clip Mixing stopped working on project
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Audio Effects & Transitions (show other bugs)
Version: 24.12.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-04-09 14:13 UTC by antimidia
Modified: 2025-04-13 04:26 UTC (History)
1 user (show)

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


Attachments
Project file compressed cause the original is 12mb. (858.65 KB, application/zip)
2025-04-09 14:13 UTC, antimidia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antimidia 2025-04-09 14:13:12 UTC
Created attachment 180118 [details]
Project file compressed cause the original is 12mb.

***
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

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

Clip mixing has stopped working on my project. When I double-click it, press U or click on the button on the toolbar I get the error message telling me I need to select a clip to apply the mix. I never needed to select a clip when I double click on the border between two clips.

There's no issue if I open a new project and try to apply the clip.

STEPS TO REPRODUCE
1. Open the attached project.
2. Try to apply the mix between two clips.


OBSERVED RESULT

Error message: you need to select a clip to apply the mix.
Comment 1 Bernd 2025-04-10 13:52:02 UTC
Do all clips have enough frames to apply the mix?
Comment 2 Bernd 2025-04-10 14:06:01 UTC
I just tested your project and can confirm the problem. I also tested a new project with clips of any kind and double-clicking to insert a mix works as expected. So I suspect something is wrong with your project. There is a large amount of clips in the bin, so perhaps this is an issue.
Comment 3 antimidia 2025-04-10 14:48:33 UTC
(In reply to Bernd from comment #2)
> I just tested your project and can confirm the problem. I also tested a new
> project with clips of any kind and double-clicking to insert a mix works as
> expected. So I suspect something is wrong with your project. There is a
> large amount of clips in the bin, so perhaps this is an issue.

I live on the edge.
Comment 4 Jean-Baptiste Mardelle 2025-04-11 15:58:25 UTC
Git commit 75ab29ca9d9086b593b472021c169a98e11fde29 by Jean-Baptiste Mardelle.
Committed on 11/04/2025 at 15:58.
Pushed by mardelle into branch 'release/25.04'.

Fix major slowdown to timeline operations (scroll, etc) on large projects using clip markers

M  +86   -64   src/timeline2/view/qml/Clip.qml
M  +0    -1    src/timeline2/view/qml/Ruler.qml
M  +2    -2    src/timeline2/view/qml/timeline.qml

https://invent.kde.org/multimedia/kdenlive/-/commit/75ab29ca9d9086b593b472021c169a98e11fde29
Comment 5 Jean-Baptiste Mardelle 2025-04-11 16:13:52 UTC
Thanks for your report. I have not yet looked into the mix issue, but after having a look at your project I at least fixed a major slowdown in timeline when working with such large projects. Will look into the mix problem asap
Comment 6 antimidia 2025-04-12 18:56:08 UTC
(In reply to Jean-Baptiste Mardelle from comment #5)
> Thanks for your report. I have not yet looked into the mix issue, but after
> having a look at your project I at least fixed a major slowdown in timeline
> when working with such large projects. Will look into the mix problem asap

That's awesome! I did notice a slowdown when zooming in and out of the timeline but didn't think to report that.
Comment 7 Jean-Baptiste Mardelle 2025-04-13 04:21:07 UTC
Ok, mystery solved. Clip mixes only work on enabled tracks, and all tracks in your project are disabled. You need en enable the tracks by clicking in the track tags (V1, V2, .A1, ..). Shift+A will toggle all tracks from inactive to active.. The tags will then turn green and mixes will work.
This allows you to add mixed only to audio for example.

However we really need to display some informative feedback in cases where no track is enabled.  Working on it.
Comment 8 Jean-Baptiste Mardelle 2025-04-13 04:26:18 UTC
Git commit 4976a9bd374c1c453d87d203dc705889a373eef5 by Jean-Baptiste Mardelle.
Committed on 13/04/2025 at 04:26.
Pushed by mardelle into branch 'release/25.04'.

Show proper error message when trying to apply a mix and all tracks are disabled
FIXED-IN: 25.04.0

M  +9    -1    src/timeline2/model/timelinemodel.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/4976a9bd374c1c453d87d203dc705889a373eef5