Created attachment 151478 [details] GeolocationEditor picture list when called from DigiKam (left) and showFoto (right) SUMMARY Geolocation editor does not behave correctly when opened from digiKam: in the picture list below the map, none of the field is populated properly. Oddly, when call from ShowFoto on same picture everything works fine... STEPS TO REPRODUCE 1. Select a picture in thumbnail view 2. Open Geolocation Editor from DigiKam menu 3. OBSERVED RESULT Geolocation editor correctly opens. However, in geolocation editor picture list (below the map) thumbnail appears empty and none of the other fields is correctly populated. Date/Time displays as "unavailable". Odd thing is that when the Geolocation editor is called for the same picture from ShowFoto, everything looks fine - see attached pictures. EXPECTED RESULT Geolocation editor should behave the same when called from DigiKam than it behaves when caled from ShowFoto. SOFTWARE/OS VERSIONS Windows: Windows 10 Professionnel 64bits 21H2 - Build 19044.1889 Qt Version: 5.15.5 ADDITIONAL INFORMATION DigiKam is installed from Windows bundle found on digiKam web site (digiKam-7.7.0-Win64.exe). Tried with many different pictures from different cameras: same behavior. Note that digiKam 6.4.0 was also behaving the same on my system. So that may be system related, like some sort of system specific thing that is not managed correctly by digiKam/Qt/... - I was however never able to find exactly what may be wrong on the system side. Any clue? Let me know how/if I can help with this. Thanks! JF
The problem cannot be reproduced here and cannot be explained at the moment. Download and launch DebugView from Microsoft. Activate internal debugging in the digiKam setup under Miscellaneous-> System. After restarting digiKam, post the messages in DebugView when you open images with the geolocation editor. Maik
Created attachment 151480 [details] digiKam DebugView output from digiKam restart to opening GeolocationEditor.
Hi Maik, Here is the DebugView log. The file referenced in the log on line 539 of the log really exits and can be openend correctly (this is the exact one ShowFoto manages to deal with). Regards, JF
The error message as an example: digikam.database: No location could be retrieved for "C:/Users/Jean-Frederic/Pictures/Photos/Photos_a_classer/Canon_EOS550D/10_Carte_32Go_10/DCIM/100CANON/IMG_1321.JPG" Your problematic paths in the collections: Creating new Location "/" uuid "volumeid:?path=C:\\Users\\Jean-Frederic\\Pictures\\Photos\\Albums_Photos" Creating new Location "/" uuid "volumeid:?path=C:\\Users\\Jean-Frederic\\Pictures\\Photos\\Photos_a_classer" Creating new Location "/" uuid "volumeid:?path=C:\\Users\\Jean-Frederic\\Pictures\\Photos\\Albums_Exportes" Creating new Location "/" uuid "volumeid:?path=C:\\Users\\Jean-Frederic\\Pictures\\Photos\\Poubelle" Creating new Location "/" uuid "volumeid:?path=C:\\Users\\Jean-Frederic\\Pictures\\Photos\\Panorama" Wrong slash "\\", then the "volumeid:?path=", probably the drive UUID could not be resolved with Solid or the paths were edited manually. Make a backup of the digikam4.db. Go is digiKam Setup-> Collection and use the update function (circle icon) on all these paths and select the exact same path. Maik
Hi again Maik, Thanks A LOT! That was it... Now things work smoothly and I can edit picture Geolocation directly from DigiKam. ... not sure where those double slashes are coming from in my config. I'm using same database from years, and this slash thing sems to only affect Geolocation Editor (I juts tried it recently). Quick question: my understanding is that Geolocation Editor directly add/edit GPS EXIF tags in picture files, not only in DigiKam database (independantly of how digiKam is configured). Is that a correct understanding? Thanks again for your time and help with this! Regards, Jean-Fred
Thanks for the feedback. The entries probably come from a bug in an older digiKam version. I close the bug for digiKam-7.8.0. The Geolocation Editor has a database interface when running under digiKam and writes directly into the database. You have to activate the option in the digiKam Setup under Metadata that you also want to write GPS information in the images. You should also deactivate internal debugging again, as it can slow down digiKam, the Windows kernel takes a relatively long time for the debug messages. Maik