Bug 510460

Summary: Bookmark without location saved when selecting multiple images (right click Bookmarks - Add Bookmark)
Product: [Applications] digikam Reporter: ferse_palette.0y
Component: Geolocation-BookmarksAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
Latest Commit: Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:
Attachments: Screenshot of how the empty bookmark looks like in the bookmark editor

Description ferse_palette.0y 2025-10-10 15:09:51 UTC
Created attachment 185651 [details]
Screenshot of how the empty bookmark looks like in the bookmark editor

SUMMARY
When right clicking on several selected images that have identical locations, then selecting Bookmarks - Add Bookmark…, I can type in a name and click OK, and a bookmark is saved, but without location. 

STEPS TO REPRODUCE
In — Geolocation Editor
1. Select all (or probably only multiple) images in the list on the bottom right
2. Search for a place on the right you want the pictures to be in
3. Right click on the place and select "Move selected images to this position"
4. Right click on the selected images on the bottom left and choose Bookmarks - Add Bookmark…
5. Type in a name for the bookmark
6. Click OK

OBSERVED RESULT
The bookmark is saved, but without location.

EXPECTED RESULT
The bookmark is saved with the location of the file I right clicked on, even if several are selected. (In the case described above all the images had the same location anyway.)
At least, if that’s too difficult to implement, show a warning to select only one image before bookmarking.

SOFTWARE/OS VERSIONS
macOS: Tahoe 26.0.1 

ADDITIONAL INFORMATION
Have a great day!
Comment 1 Maik Qualmann 2025-10-10 19:13:39 UTC
Git commit e5d75b704082180a12c63fa8fe8cbe05fc54a1cc by Maik Qualmann.
Committed on 10/10/2025 at 19:12.
Pushed by mqualmann into branch 'master'.

allow selection of multiple items with the same coordinates
If items with different coordinates are selected,
a note appears in the bookmark name text field.
FIXED-IN: 8.8.0

M  +1    -1    NEWS
M  +23   -11   core/utilities/geolocation/geoiface/items/gpsitemlistcontextmenu.cpp

https://invent.kde.org/graphics/digikam/-/commit/e5d75b704082180a12c63fa8fe8cbe05fc54a1cc
Comment 2 ferse_palette.0y 2025-10-11 18:42:43 UTC
(In reply to Maik Qualmann from comment #1)
> Git commit e5d75b704082180a12c63fa8fe8cbe05fc54a1cc by Maik Qualmann.
> Committed on 10/10/2025 at 19:12.
> Pushed by mqualmann into branch 'master'.
> 
> allow selection of multiple items with the same coordinates
> If items with different coordinates are selected,
> a note appears in the bookmark name text field.
> FIXED-IN: 8.8.0
> 
> M  +1    -1    NEWS
> M  +23   -11  
> core/utilities/geolocation/geoiface/items/gpsitemlistcontextmenu.cpp
> 
> https://invent.kde.org/graphics/digikam/-/commit/
> e5d75b704082180a12c63fa8fe8cbe05fc54a1cc

You are incredibly quick, thanks a lot! Have a great weekend!