Bug 467740 - After saving, move waveform/thumbnail cache instead of regenerating
Summary: After saving, move waveform/thumbnail cache instead of regenerating
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (show other bugs)
Version: 22.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2023-03-24 06:22 UTC by Jacob Kauffmann
Modified: 2024-10-26 13:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Kauffmann 2023-03-24 06:22:14 UTC
SUMMARY
Kdenlive discards and re-generates data such as audio waveforms if the project is saved to a new location. This can often mean waiting for waveforms to generate twice when starting a new project (once before saving for the first time, and once after.)

STEPS TO REPRODUCE
1. Open Kdenlive
2. Drag a video into the Project Bin
3. Drag the video to the Timeline
4. Wait for some waveforms to appear
5. Save the new project to a non-default directory (e.g. if the project has its own directory where the footage is stored, save it there)

OBSERVED RESULT
Kdenlive notifies the user: "The location of the project file changed. You selected to use the location of the project file to save temporary files. This will move all temporary files from /old/directory to /new/directory, the project file will then be reloaded"

After this, all audio waveforms are gone and the loading bar under the clip in the Project Bin restarts from zero to generate them again.

EXPECTED RESULT
The already-generated waveform thumbnails should be moved (as the dialog indicates) and generating should not start over from zero.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.2.7-arch1-1
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Comment 1 emohr 2024-10-26 11:19:54 UTC
I think this is more a bug. Cached audio waveforms should be linked to the new project location too.