Summary: | Track ordering does not work as expected | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | ritalat |
Component: | User Interface | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahiijny, fritzibaby |
Priority: | NOR | Flags: | fritzibaby:
Brainstorm+
|
Version: | 19.08.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 19.08.2 | |
Attachments: | Inconsistent track ordering. |
Thank you for reporting. Issue is known: https://invent.kde.org/kde/kdenlive/issues/220. No workaround so far. Something to do with TimelineModel::getTrackSortValue, maybe? https://invent.kde.org/kde/kdenlive/blob/90d5443c7a0bed99fa1dc5a33e668074ce112bc9/src/timeline2/model/timelinemodel.cpp#L329 I'm not familiar with this codebase at all, but... Looking at a .kdenlive save file, it looks like the tracks are normally ordered audio (descending) and then video (ascending). separated == 1 -> natural order (e.g. A3, A2, A1, V1, V2, V3) separated == 2 -> ascending audio, and then ascending video (e.g. A1, A2, A3, V1, V2, V3) else -> so this must be mixed order, but I think there's a mistake here. aCount * trackPos? That doesn't look right... Git commit 15ddd416647f4727ce6bb3bad39cc6500c78b272 by Jean-Baptiste Mardelle. Committed on 10/09/2019 at 05:44. Pushed by mardelle into branch 'Applications/19.08'. Fix mixed audio track sorting. Related to #220 M +7 -6 src/timeline2/model/timelinemodel.cpp https://invent.kde.org/kde/kdenlive/commit/15ddd416647f4727ce6bb3bad39cc6500c78b272 @ahiijny. Thank you for the hint. Solved with upcoming 19.08.2. 19.08.2 definitely improved it but "split audio tracks" still does not order properly for me after adding a new av track. A1 and V1 are not in the correct position. |
Created attachment 122327 [details] Inconsistent track ordering. SUMMARY The ordering of tracks does not work as expected. STEPS TO REPRODUCE 1. Add a few new av tracks 2. Change between mixed and split views OBSERVED RESULT The ordering of tracks is not intuitive. (see attachment) EXPECTED RESULT The tracks would be ordered in an intuitive way mixed: V3, A3, V2, A2, V1, A1 etc. split: V3, V2, V1, A1, A2, A3 SOFTWARE/OS VERSIONS KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.61.0 Qt Version: 5.13.0