https://bugs.kde.org/show_bug.cgi?id=399034

--- Comment #13 from caulier.gil...@gmail.com ---
Maik, 

I take a look to the differences between map view from right sidebar and the
central view map, and map sidebar has this call to re-center the map on items :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/properties/geolocation/itempropertiesgpstab.cpp#L447

This is exactly what we need, as API doc explain :

https://invent.kde.org/graphics/digikam/-/blob/master/core/utilities/geolocation/geoiface/widgets/mapwidget.cpp#L2327

... and of course, the central view do not have this call when album contents
is assigned to the map :

https://invent.kde.org/graphics/digikam/-/blob/master/core/app/views/stack/mapwidgetview.cpp#L184

Note : The map sidebar has a boolean flag to indicate when the map need to be
centered :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/properties/geolocation/itempropertiesgpstab.cpp#L120

A similar mechanism need to be done in central view.

What do you think about ?

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to