SUMMARY *** It would be great if KGeoTag could be launched also from Dolphin to Open With selected image(s) and/or folder(s), which at the present can only be done by launching an empty session first and then using keyboard shortcuts Ctrl+F or Ctrl+D (or File menu entries "Add images..." or "Add... directory". ***
Thanks for your feedback! I think at the moment, KGeoTag doesn't handle command line parameters at all (I'll have to check that though ;-) but this shouldn't be too hard to implement. Once done, it should be possible to add some shortcut to Dolphin ("open with ..."). Maybe, this can even be pre-defined, I think Gwenview does that. But I'll also have to check that. I'll post all updates concerning this here!
Git commit cb8489b5636d7378563261aa31a59c57e2a8b361 by Tobias Leupold. Committed on 12/06/2022 at 14:48. Pushed by tleupold into branch 'master'. Added loading dirs/files given on the command line M +25 -1 src/MainWindow.cpp https://invent.kde.org/graphics/kgeotag/commit/cb8489b5636d7378563261aa31a59c57e2a8b361
Okay, we now can load directories and/or files that are given on the command line. This works fine for one selected directory or file via Dolphin's "Open with", but if more files and/or directories are selected, one instance of KGeoTag is opened … I'm not sure how to handle this. Loading an arbitrary number of files (or a wildcard) given via the command line directly works as expected. I'll have to check if there's a way how to tell Dolphin to pass a list to KGeoTag instead of opening multiple instances.
Git commit 4e73cbc9119f9f903586d382fad93f004ffd2a43 by Tobias Leupold. Committed on 15/07/2022 at 22:04. Pushed by tleupold into branch 'master'. KGeoTag now can take a list of URLs when being called M +1 -1 org.kde.kgeotag.desktop https://invent.kde.org/graphics/kgeotag/commit/4e73cbc9119f9f903586d382fad93f004ffd2a43