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