Bug 480734

Summary: Sequence background lose transparency, if sequence tab closed before saving project
Product: [Applications] kdenlive Reporter: red_Arti <jijiliu35>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: project_seq-lose-transparency-bg
sequence-lose-transparancy-bg

Description red_Arti 2024-02-02 13:17:25 UTC
Created attachment 165473 [details]
project_seq-lose-transparency-bg

SUMMARY
If you close a sequence's tab (which has been added into another sequence's track), then save the project, close, reopen it, you'll find the sequence is rendered black-background (transparency lost)
(watch the screen-record video I upload)

STEPS TO REPRODUCE
1. Create project
2. Create title clip, with text, transparent background. Add it to Sequence 1
3. Create Sequence 2
4. Close Sequence 1 tab
5. Add a picture to Sequence 2 V1
6. Add Sequence 1 to Sequence 2 V2, above V1 picture (currently, the background of Sequence 1 is transparent)
7. Save, close, reopen

OBSERVED RESULT
After close and reopen, Sequence 1's background is rendered black in Sequence 2

EXPECTED RESULT
Sequence 1's background should be rendered transparent in Sequence 2

SOFTWARE/OS VERSIONS
Latest git master build (qt5) kdenlive-master-7360-linux-gcc-x86_64.AppImage

ADDITIONAL INFORMATION
1. If you export video after reopen saved project, the exported video also have a wrong-rendered Sequence 1 black background
2. If you open Sequence 1's tab, then switch to Sequence 2, the background transparency comes back
Comment 1 red_Arti 2024-02-02 13:23:34 UTC
Created attachment 165474 [details]
sequence-lose-transparancy-bg
Comment 2 Jean-Baptiste Mardelle 2024-02-02 15:27:35 UTC
Git commit f6a10cbd665588d491d7bd275bd2717b723d28ec by Jean-Baptiste Mardelle.
Committed on 02/02/2024 at 15:27.
Pushed by mardelle into branch 'release/24.02'.

Ensure closed timeline sequences have a transparent background on opening

M  +2    -0    src/project/projectmanager.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/f6a10cbd665588d491d7bd275bd2717b723d28ec