Bug 515606 - Unable to rename video file after playing.
Summary: Unable to rename video file after playing.
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (other bugs)
Version First Reported In: 9.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-06 11:52 UTC by Peter
Modified: 2026-02-14 20:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2026-02-06 11:52:31 UTC
***
OS: Windows 10
digiKam ver.: digiKam-9.0.0-20260205T180243-Qt6-Win64.exe
I could not reproduce the error on Linux Mint 22.3 using the appimage version.

-- I selected a video file. Format: mp4
-- Double-clicked the Thumbnail
-- Started playback by clicking the Play button
-- Double-clicked the video and returned to Thumbnail view
-- Tried to rename the file (pressed F2)
-- Typed the new name and pressed Enter
Error message: "An error occurred while renaming 1 image. Do you want to rename this image again or rename this image by overwriting?"

I opened the file in the file manager, but renaming was not possible there either.
Error message: "The action cannot be completed because the file is open in Advanced digital photo management application."

I closed digiKam, then tried to rename the file again in the file manager, which was successful.

It appears that stopping the video playback process in digiKam does not release the file lock, making further file operations impossible.
Comment 1 Maik Qualmann 2026-02-06 12:00:39 UTC
The file is still open internally in FFmpeg. Normally, we insert a dummy video when the video view is exited to release the last file. Presumably, due to the new preview view running in the background, the file is still in use. I'll take a look.

Maik
Comment 2 Maik Qualmann 2026-02-14 20:51:58 UTC
We insert a dummy video when exiting the player view. The video file itself should no longer be in use by digiKam. I will test this on a Windows machine on Monday.

Maik