https://bugs.kde.org/show_bug.cgi?id=433601
--- Comment #13 from Jean-Baptiste Mardelle <[email protected]> --- So here is an explanation on what happens: When a clip is added to Kdenlive, we keep a reference to the MLT Producer alive, even if the clip is deleted, so we can easily undo the clip deletion. There are currently 2 ways to get rid of the file lock: 1. By default, Kdenlive keeps an unlimited number of undo operations in memory for the current project. Clearing undo history will discard all undo history, so you cannot undo anymore, but it will free the memory and close file handles that are not necessary anymore. Previously the "Clear Undo History" action was only available through the context menu of the Undo History dock, not really helping. I have now added it to the main Edit menu under undo/redo so it is easier to find. 2. Close the project. There was a small bug here where a few audio frames were kept in memory through the audio levels monitor, keeping the last viewed clip file handle open until you played another clip in the Clip Monitor. This is now fixed and all files handles are now correctly closed when closing a project with Kdenlive's latest git master. I am open to suggestions on how to improve things. It might be possible to close the file handle once the file is removed and rebuild it on undo, but for now I have higher priorities. -- You are receiving this mail because: You are watching all bug changes.
