Bug 421567 - File name collissions in archive function
Summary: File name collissions in archive function
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 20.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks: 456346
  Show dependency treegraph
 
Reported: 2020-05-15 13:32 UTC by hadmut
Modified: 2024-02-02 09:31 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 hadmut 2020-05-15 13:32:07 UTC
Hi,

I had a project with two image files (png) with the same name, one of the files directly added to the clip list, the other used as an image in a title clip. Works without any problems when generating a video. 

But when creating an archive, there's a name collission. kdenlive shows a request whether to overwrite or rename. It's not much of a problem to rename it, but this is not really an 'archive'. Would be better to have a subdirectory for each title clip etc. 

A good option would be to detect, whether files have the same content (or in fact are the same file) and just don't ask.
Comment 1 Jean-Baptiste Mardelle 2024-02-02 09:31:36 UTC
Git commit 273b8d99070578eb4af93aeb88adbc51bcd9603a by Jean-Baptiste Mardelle.
Committed on 02/02/2024 at 09:31.
Pushed by mardelle into branch 'release/24.02'.

Fix duplicated filenames or multiple uses not correctly handled in archiving
Related: bug 456346

M  +2    -4    src/doc/documentchecker.cpp
M  +13   -3    src/project/dialogs/archivewidget.cpp
M  +1    -0    src/project/dialogs/archivewidget.h
M  +2    -1    src/project/dialogs/projectsettings.cpp
M  +39   -2    src/titler/titlewidget.cpp
M  +5    -1    src/titler/titlewidget.h

https://invent.kde.org/multimedia/kdenlive/-/commit/273b8d99070578eb4af93aeb88adbc51bcd9603a