Bug 483516

Summary: Multi subtitle list not displayed correctly
Product: [Applications] kdenlive Reporter: red_Arti <jijiliu35>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 24.02.1
Sentry Crash Report:
Attachments: bug-record_multi-subtitle-miss
bug-project

Description red_Arti 2024-03-14 05:51:29 UTC
Created attachment 167146 [details]
bug-record_multi-subtitle-miss

SUMMARY
The multiple subtitle tracks list doesn't display correctly, if you have multiple sequences.

STEPS TO REPRODUCE
1. Create project (Project folder option: Parant folder of project file)
2. In Seq1, add a subtitle '1'
3. Create Seq2. In Seq2 add a subtitle '2'
4. Save (click 'yes' for moving temporary files). Close. Reopen the project
5. In Seq2, open Manage Subtitles and create a new subtitle track. Add a subtitle '3' 
6. Switch to Seq1. Open Manage Subtitles and create a new subtitle track. Add a subtitle '4'

Now: Seq1 has 2 subtitle tracks. Switch to Seq2, also 2 subtitle tracks.

7. Save again. Close. Reopen the project.
8. Switch to Seq1. Check the subtitle list

OBSERVED RESULT
The subtitle list displays empty.
You can only switch to the first subtitle track from the dropdown.
Only after you add a new subtitle track now, the previous-added second track shows.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Latest git master ci build kdenlive-master-7641-linux-gcc-x86_64.AppImage

ADDITIONAL INFORMATION
Comment 1 red_Arti 2024-03-14 05:54:58 UTC
Created attachment 167148 [details]
bug-project
Comment 2 Jean-Baptiste Mardelle 2024-03-17 16:10:56 UTC
Git commit 3aadf0ec9e6ee4253f0ff3f93a5a408d6e13c03c by Jean-Baptiste Mardelle.
Committed on 17/03/2024 at 16:10.
Pushed by mardelle into branch 'release/24.02'.

Fix: some sequence properties incorrectly saved, like subtitles list, timeline zone
FIXED-IN: 24.02.1

M  +6    -1    src/doc/kdenlivedoc.cpp
M  +8    -0    src/mainwindow.cpp
M  +1    -0    src/mainwindow.h
M  +3    -0    src/monitor/monitor.cpp
M  +1    -4    src/project/projectmanager.cpp
M  +0    -2    src/timeline2/model/timelineitemmodel.cpp
M  +9    -15   src/timeline2/view/timelinecontroller.cpp
M  +1    -4    src/timeline2/view/timelinecontroller.h
M  +9    -4    src/timeline2/view/timelinetabs.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/3aadf0ec9e6ee4253f0ff3f93a5a408d6e13c03c