Created attachment 104048 [details] Console output when trying to "Zoom into a group" When trying to "Zoom into a group" at a small zoom factor (map showing the whole world) in the Geolocation Editor the map jumps to geographic position 0/0 with a bigger zoom factor. Now you have find your way back by zooming out, panning back and evetually zooming in at least a bit to make sure the same doesn't happen again. Reproducible: always. Steps to reproduce: - select a few images with GPS coordinates close to each other or identical - open Geolocation Editor (Ctrl Shift G) - typically you see a map showing the whole world or a globe and a thumnail or marker on it. - click "Zoom into a group" button under the map - click on the marker or thumbnail Result: map jumps to position 0/0 and shows a bigger zoom factor. Expected Result: map jumps to group position and zoom factor will be increased until individual images become visible or to maximum. The same happens sometimes also in the Map tab on the Right Sidebar but it is not always reproducible. Seems to depend on what you did before. Console output is attached.
I just foud out that this is not limited to a small zoom factor. I just had the same problem when clicking for "Zoom into a Group" when zoomed in already quite a lot.
Wolfgang, can you confirm that only the first mouse click in the group will fail. It works after the second mouse click. Looks for an issue in Marble, let's see if I find a workaround. Maik
Yes, I can confirm that.
Git commit 202f61dc8b545ba9224c564de13f138210cbbf02 by Maik Qualmann. Committed on 27/02/2017 at 20:36. Pushed by mqualmann into branch 'master'. fix center on map when using zoom into a group FIXED-IN: 5.5.0 M +2 -2 NEWS M +1 -0 utilities/geolocation/geoiface/backends/backendmarble.cpp https://commits.kde.org/digikam/202f61dc8b545ba9224c564de13f138210cbbf02
Ah, great! Thanks, Maik! I will test it with the next AppImage.
O.k. Maik, works fine! Thanks! Meanwhile I found a similar problem: When clicking on a location in the search result of the geolocation editor the map jumps to the right place but often the zoom factor is so high that you have no clue where you are. File another bug? Maybe you better take a look at it first if you think it is worth it.
Git commit 300aea9d80091ccf4577b3fb140bdafaa8dcd7e1 by Maik Qualmann. Committed on 07/03/2017 at 22:07. Pushed by mqualmann into branch 'master'. remove wrong code to add image position in ImageScanner::copiedFrom() Related: bug 376933 FIXED-IN: 5.5.0 M +2 -1 NEWS M +0 -5 libs/database/item/imagescanner.cpp https://commits.kde.org/digikam/300aea9d80091ccf4577b3fb140bdafaa8dcd7e1
The Comment 7 is wrong for this bug, sorry. Maik