SUMMARY "Open in File Manager" opens collection folder. At the same time, Properties - File Properties - Folders, show the correct file folder for that image. STEPS TO REPRODUCE 1. Starting from any of the modules: Album | People | Similarity, 2. right clicking image, 3. clicking "Open in File Manager" OBSERVED RESULT Windows File Explorer opens the collection folder. EXPECTED RESULT Windows File Explorer should open the folder containing the image|video file, and select it. SOFTWARE/OS VERSIONS Windows 10
I use this function frequently on Windows, and it definitely opens the corresponding folder and selects the file. Please create a DebugView log as described here for Windows: https://www.digikam.org/contribute/#windows-host Please start the log entirely from the digiKam startup. Maik
How can I share the log without making it publically available?
You can send the log file by private mail to Maik at metzpinguin@gmail.com Best Regards Gilles Caulier
Thank you, sent.
Info provided in direct email to Maik.
Hmm, I didn't receive anything. I'll have to check my spam folder later... Maik
The issue still exists in 8.7 Some files/folders are opening fine, some are opening at the top of a collection. I renamed a folder for one of the affected file. Presumably it refreshed DB so that it started opening the file's folder correctly. Curiously, looking at Properties panel and "File Properties" section, still shows a correct Folder.
The log you sent me ended up in my spam folder; I didn't see it until later. The log didn't show anything unusual, though. They used two characters in the path that were rather unusual to me (+ and =), but these characters aren't forbidden in file paths. I tried to recreate it, but it always opened the correct directory and selected the file in Explorer. You can try to see if it works for you from the Command Prompt: Try in cmd.exe: (Comma after /select is correct) explorer.exe /select, PATH_TO_IMAGE explorer.exe /select, F:/syncthing/mars+venus/Photo_Library/=Triage_Photos/3-To-Triage-Photo/2021/2021-06-15/20210615_141850.JPG Maik
I had not posted the path separator correctly, this would be correct: explorer.exe /select, F:\syncthing\mars+venus\Photo_Library\=Triage_Photos\3-To-Triage-Photo\2021\2021-06-15\20210615_141850.JPG Maik
I tested the explorer command: it looks like Windows treats PLUS and EQUALS as semi-special chars and it expects such Paths to be double quoted. Please consider patching the way DK opens the Explorer window. TEST SETUP: Using git-bash mkdir -p 'F:\syncthing\mars+venus\apps\pinginfoview' cd 'F:\syncthing\mars+venus\apps\pinginfoview' mkdir +test =test cd +test touch +file.txt '= file plus space.txt' =file.txt 'file with a space.txt' file.txt cd .. cd =test touch +file.txt '= file plus space.txt' =file.txt 'file with a space.txt' file.txt cd .. find . | grep test TEST STEPS explorer.exe /select, F:\syncthing\mars+venus\apps\pinginfoview\=test\NON-EXISTING-FILE.txt - BAD: opens Desktop. Observation for following tests: whenever Desktop is opened - the target file did not exist. explorer.exe /select, F:\syncthing\mars+venus\apps\pinginfoview\=test\file.txt - BAD: opens pinginfoview (parent of a parent) explorer.exe /select, "F:\syncthing\mars+venus\apps\pinginfoview\=test\file.txt" - GOOD explorer.exe /select, F:\syncthing\mars+venus\apps\pinginfoview\+test\file.txt - BAD: opens Documents explorer.exe /select, "F:\syncthing\mars+venus\apps\pinginfoview\+test\file.txt" - GOOD explorer.exe /select, "F:\syncthing\mars+venus\apps\pinginfoview\+test\= file plus space.txt" - GOOD
Git commit ec482dee698bce44bf679250b4f44397dd446f7f by Maik Qualmann. Committed on 30/07/2025 at 16:14. Pushed by mqualmann into branch 'master'. add quotation marks to the Windows path if there are no spaces Qt adds quotation marks if there are spaces. M +9 -1 core/libs/threadimageio/engine/dfileoperations.cpp https://invent.kde.org/graphics/digikam/-/commit/ec482dee698bce44bf679250b4f44397dd446f7f
A digiKam version with the fix is available. Can the problem still be reproduced? https://files.kde.org/digikam/ Maik
*** Bug 508191 has been marked as a duplicate of this bug. ***
Git commit 744a2057da15c935f941435e84e5056b0a6157f3 by Maik Qualmann. Committed on 13/08/2025 at 10:33. Pushed by mqualmann into branch 'master'. use native Windows command arguments M +8 -13 core/libs/threadimageio/engine/dfileoperations.cpp https://invent.kde.org/graphics/digikam/-/commit/744a2057da15c935f941435e84e5056b0a6157f3
I've tested all possible cases here, and Explorer now always opens the correct folder and selects the file. I'm closing this bug. If you still encounter problems, please reopen it with a DebugView log and the exact path. Maik