Bug 481525 - Editing a project's subtitle effects another project, after using "Save As"
Summary: Editing a project's subtitle effects another project, after using "Save As"
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: git-master
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-19 00:52 UTC by red_Arti
Modified: 2024-02-19 12:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description red_Arti 2024-02-19 00:52:33 UTC
SUMMARY
After using "Save As" to create a duplicated project, editing project1's subtitle will make the changes seem to be applied to project2 also. (cachefiles causes that)


STEPS TO REPRODUCE
1. Create project, with option: Project folder = Parant folder of the project file
2. Add some subtitle
3. Save to /path1/p.kdenlive. Click "Continue" in dialog "This will move all temporary files from xxx to /path1/cachefiles"
4. Save As to /path2/p.kdenlive. Click "Continue" in dialog "This will move all temporary files from /path1 to /path2/cachefiles"
5. Quit
6. Double click /path1/p.kdenlive to open. Edit subtitle to make it different. Save. Don't quit
7. Double click /path2/p.kdenlive to open in a 2nd Kdenlive instance. 


OBSERVED RESULT
In the 2nd Kdenlive instance that opens /path2/p.kdenlive, subtitle looks same as /path1/p.kdenlive

EXPECTED RESULT
In the 2nd Kdenlive instance that opens /path2/p.kdenlive, subtitle should be /path2/p.kdenlive.srt

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

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2024-02-19 12:10:10 UTC
Git commit 0b67c373df9aa2f38a8a11ad491b08fd18563ff4 by Jean-Baptiste Mardelle.
Committed on 19/02/2024 at 12:09.
Pushed by mardelle into branch 'release/24.02'.

Subtitles: add session id to tmp files to ensure 2 concurrent versions of a project don't share the same tmp files

M  +1    -0    src/core.cpp
M  +5    -0    src/core.h
M  +2    -1    src/doc/kdenlivedoc.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/0b67c373df9aa2f38a8a11ad491b08fd18563ff4