DigiKam is a great tool to organize and manage photos. However, there is not a convenient way to copy the full file path of a photo to use in another app. It would be helpful to have "copy file path" option on the right-click menu. STEPS TO REPRODUCE 1. Go to album view 2. Right-click mouse OBSERVED RESULT There is no option to "copy file path" EXPECTED (desired) RESULT Have an option to "copy file path" SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
From icon View, copy item to the clipboard after selection. Open a text editor, and paste the contents : file paths are there. This must work with all application supporting standard clipboard. Gilles Caulier
I tried the steps suggested by Gilles Caulier: "From icon View, copy item to the clipboard after selection. Open a text editor, and paste the contents : file paths are there. This must work with all application supporting standard clipboard." It still does not work for me. I opened up a Notebook editor to paste the path. Whether I copied to the clipboard using Ctrl-C or "Copy", nothing got pasted to Notebook. One interesting find is if I drag and dropped the image to Notebook, the binary contents of the file appeared. Question for Gilles Caulier: What OS are you running and which version of DigiKam?
Linux Mageia 8, Plasma desktop, Kate editor, and last digiKam dev version : https://i.imgur.com/MQ78Hs4t.png Gilles Caulier
Right screenshot size : https://i.imgur.com/MQ78Hs4.png
The clipboard entry under Windows is not a string and can therefore not be inserted as text. digiKam also has various options for interacting with external programs under Windows, for example the "Open with ..." dialog or open in the file manager. In what context do you need the path as text exactly? Maik
Maik, I just tested under Windows : 1 Copy and paste to Kate editor : paths are there. 2 copy and paste to Notepad++ : no paste option. A drag and drop work fine as paths are pasted. 3 copy and paste to M$ notepad : no paste option. A drag and drop transfer file as byte array... 4 copy and paste to M$ wordpad : as M$ notepad. Conclusion : A target Qt application can detect clipboard as text. I suspect that something is missing in clipboard metadata to recognize contents as text properly under Windows. Gilles
*** Bug 449821 has been marked as a duplicate of this bug. ***
Git commit 3646129dfff77178b22e1ac21068340bd0789211 by Maik Qualmann. Committed on 08/03/2023 at 06:55. Pushed by mqualmann into branch 'qt5-maintenance'. add file paths in text/plain format for clipboard actions Related: bug 467013, bug 467024 FIXED-IN: 7.10.0 M +3 -1 NEWS M +23 -0 core/app/dragdrop/ddragobjects.cpp https://invent.kde.org/graphics/digikam/commit/3646129dfff77178b22e1ac21068340bd0789211
I tested this patch. Observation... Example: /media/benedek/Kepek/20190830Kalandpark -- this path can only be copied in that case, if the properties panel is wide enough and the path is fully visible. If the panel is not wide enough, the path will be truncated, and so it goes to the clipboard. Clipboard content, if the panel is not wide enough: -- Select All -- Copy -- Paste in any Text Editor …enedek/Kepek/20190830Kalandpark
You can now also copy the file path via copy / paste. It also depends a bit on what information the target program takes from the clipboard. A text editor, CMD input fields will paste the path. A word processor that can also use images may take the URL and insert the image. Maik
Maik, I plan to add a copy and paste section in online documentation and explain all cases in different OS Gilles
Git commit cc554edd7da9a51464e32516f7f3a5ab04d81d75 by Gilles Caulier. Committed on 17/03/2023 at 20:27. Pushed by cgilles into branch 'master'. add a small section about copy/paste with other appications M +21 -8 main_window/albums_view.rst https://invent.kde.org/documentation/digikam-doc/commit/cc554edd7da9a51464e32516f7f3a5ab04d81d75