Bug 472400 - Bug: "Toggle Track Target" perfom different between Audio Track and Video Track.
Summary: Bug: "Toggle Track Target" perfom different between Audio Track and Video Track.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 23.04.2
Platform: Microsoft Windows Other
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-19 14:16 UTC by Mat.
Modified: 2023-07-21 10:29 UTC (History)
0 users

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


Attachments
Showing the issue. (3.41 MB, video/mp4)
2023-07-19 14:16 UTC, Mat.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mat. 2023-07-19 14:16:42 UTC
Created attachment 160392 [details]
Showing the issue.

SUMMARY

Bug: "Toggle Track Target" perfom different between Audio Track and Video Track.

STEPS TO REPRODUCE
1. Create sequence with two or more audio track.
2. Load clip in Clip Monitor.
3. Change the select Audio Track to any Audio Track without Track Target.
4. Change the Audio Track Target with "Toggle Track Target" (Timeline > Tracks > Toggle Track Target or with default keyboard shortcut "Shift + T")

OBSERVED RESULT
The "Toggle Track Target" will not work with Audio Track the same way with Video Track: 

When perform "Toggle Track Target" in some Video Track, it will deselect the "Track Target" from any Video Track where it are and the "Target Track" will move to the select Video Track, at once time.

When perfom "Toggle Track Target" in some Audio Track, it will necessary use the "Toggle Track Target" in the track that are with "Track Target" to deselect it. Now select other Audio Track and perform again "Toggle Track Target" to target this track.

EXPECTED RESULT
"Toggle Track Target" should behavior with Audio Track the same way like Video Track, I mean, when perform "Toggle Track Target" in Audio Track, it should change the Target Track to the select track at once time.

SOFTWARE/OS VERSIONS
Windows: Windows 10 Version 2009 (x86_64)
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9 (built against 5.15.9)
Comment 1 Jean-Baptiste Mardelle 2023-07-21 10:29:34 UTC
Git commit 6c55512b823c2b499a702d879b606ea2b3b095df by Jean-Baptiste Mardelle.
Committed on 21/07/2023 at 10:28.
Pushed by mardelle into branch 'release/23.08'.

When a clip only has 1 audio stream, directly re-assign it on toggle track target.

M  +9    -1    src/timeline2/view/timelinecontroller.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/6c55512b823c2b499a702d879b606ea2b3b095df