Bug 459163 - Geolocation Editor difficult to use
Summary: Geolocation Editor difficult to use
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-GeolocationEdit (show other bugs)
Version: 8.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-15 13:45 UTC by maison
Modified: 2024-04-29 23:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
warning on version update (14.10 KB, image/png)
2022-09-17 16:18 UTC, maison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maison 2022-09-15 13:45:06 UTC
SUMMARY

STEPS TO REPRODUCE
1. Try to geolocate a photograph in the Geolocation Editor.

OBSERVED RESULT
Totally unintuitive. There are buttons for everything but to pin your images to the map.
To locate your photograph, you either have to type the coordinates on the right (then what is the map for ?) or click on the map, Copy coordinates and then…

If you happen to use a different decimal separator than the dot (many countries use a comma), then you can’t even paste that on the right side!
digikam is not compatible with itself!

EXPECTED RESULT
Like other geolocation editors, keep things simple and don’t clutter it. Who needs to calculate directions from here to there in the Geolocation editor (to give just an example)?
The most important function here is to pin your photograph on the map. Look how simple it is in Google Maps, GeoSetter (unmaintained), OpenStreetMap,…
Don’t abusively block pasting into the coordinates fields on the right. Let the user fix it first and if there is an error, then let the user know when they click on Apply.

SOFTWARE/OS VERSIONS
Windows: 7 Home

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2022-09-15 14:40:57 UTC
In the Geolocation Editor you can drag and drop the images from the list onto the map to assign them coordinates.

Maik
Comment 2 Maik Qualmann 2022-09-15 19:15:31 UTC
Whether comma or point for coordinates is fixed in current digiKam versions, the respectively set locale is used. Your digiKam 7.4.0 version is older.

Maik
Comment 3 Maik Qualmann 2022-09-15 19:19:21 UTC
*** This bug has been marked as a duplicate of bug 457072 ***
Comment 4 maison 2022-09-17 14:06:20 UTC
(In reply to Maik Qualmann from comment #2)
> Whether comma or point for coordinates is fixed in current digiKam versions,
> the respectively set locale is used. Your digiKam 7.4.0 version is older.
> 
> Maik

Sorry for the confusion about the version (I’ve just updated LibreOffice and had that in mind). I use the latest digiKam 7.8.0.

However your answer about locales seems peremptory. Copy then immediately paste coordinates doesn’ț work inside digiKam / Geolocation Editor if the separator is comma in the case I described. Any logical reason why it shouldn’t ?
Comment 5 maison 2022-09-17 16:17:38 UTC
It looks like every time I update the digiKam, I get a warning (see screenshot), even though I didn’t change anything about the computer locale.
Comment 6 maison 2022-09-17 16:18:05 UTC
Created attachment 152160 [details]
warning on version update
Comment 7 maison 2022-09-17 16:34:04 UTC
After I downgraded to 7.6.0, I can move the pin on the map again.
Maybe this bug is related to bug 459160.
Comment 8 Maik Qualmann 2022-09-18 16:49:52 UTC
You can ignore the warning, simply confirm it has no effect. An old Qt bug is fixed and now returns the actual text encoding. In digiKam-8.0.0 we check the actual database encoding.

Maik
Comment 9 maison 2022-11-22 08:21:27 UTC
Hi. Do we have any news for the GPS location format not being compatible within digiKam?
Comment 10 Maik Qualmann 2022-11-22 10:00:56 UTC
digiKam can handle both commas and periods. I think they are trying to put the coordinates in the right side. There is a function for inserting coordinates in the right mouse context menu in the image list below. This function recognizes different coordinate variants. And again the normal way is to drag and drop the images onto the map from the image list below.

Maik
Comment 11 maison 2022-11-22 10:11:07 UTC
Mark, I’m not sure what Paste coordinates function you mean. Drag and drop a position from the map doesn’t work because it drags the map instead.
Anyway, as I mentioned, there is a function to Copy coordinates, both from the map or from an image context menu. However, that one copies coordinates as longitude and latitude in degrees, minutes and seconds whereas the coordinate list on the right (the one that only accepts Paste, but not Paste coordinates) has latitude THEN longitude in degrees ONLY.
So pasting coordinates to an image simply doesn’t work, whether it is because of commas or because internal incompatibility.
Comment 12 Maik Qualmann 2022-11-22 11:29:33 UTC
You're thinking completely wrong. Thou shalt not drop the map to the images, but vice versa. The image list has a context menu where you can add coordinates. I'll make a video tonight.

Maik
Comment 13 maison 2022-11-22 11:33:26 UTC
Or rather we are not speaking about the same thing. The panel on the RIGHT is the problem, not the panel at the bottom. The one that has edit fields.
Comment 14 Maik Qualmann 2022-11-22 12:30:15 UTC
The detail tab in the right panel is intended more for displaying the coordinates. It is possible to change coordinates, but quite cumbersome. If requested by the users, the coordinates are displayed in the format typical of the country (comma or point) and are also expected as input. It's not really designed for pasting coordinates.

You can directly insert coordinates that you get from Google Maps from a browser or from our map via "Paste coordinates" in the context menu of the image list. Drag&Drop from the image list -> to the map is even easier.

Maik
Comment 15 caulier.gilles 2023-05-02 17:01:13 UTC
Maik,

What's the status of this file ? To be closed as intentional ?

Gilles
Comment 16 maison 2023-05-02 19:00:11 UTC
(In reply to caulier.gilles from comment #15)
> What's the status of this file ? To be closed as intentional ?

No. It’s hard to find such a confusing interface elsewhere. You can Copy coordinates but the Paste button doesn’t work… You can’t pin an image, but you have to drag and drop it, which is much more imprecise… There are input fields that lead the user to think that they are interactive, but they are not… Two Apply buttons for what? Most of the buttons don’t do anything… You click on an image from the main interface and press the Change location button and most of the interface is useless because the image you preselected in the main interface is NOT preselected in the Geolocation editor… However this one is bloated with functions like itinerary or show TWO maps (seriously?), measure distances… It’s like someone copied it from a totally different project without adapting it to the new context.

At least if the Geolocation editor is not repaired, then remove the functions that don’t work, starting with the Paste coordinates button, so that we don’t mislead users.
Comment 17 Maik Qualmann 2023-06-06 19:23:57 UTC
Here is a screencast showing how to paste coordinates.

https://drive.google.com/file/d/1neXbiHV6anwPuka5sKTGNWxbDhRsWxE6/view?usp=sharing

And on your last comment, I don't see any features that are useless or that we should remove.

Maik
Comment 18 maison 2023-06-06 21:49:26 UTC
(In reply to Maik Qualmann from comment #17)
> Here is a screencast showing how to paste coordinates.
> 
> https://drive.google.com/file/d/1neXbiHV6anwPuka5sKTGNWxbDhRsWxE6/
> view?usp=sharing
> 
> And on your last comment, I don't see any features that are useless or that
> we should remove.
> 
> Maik

Thank you for clarifying some things; your screen cast does help and I understand it better. I find it’s less intuitive to copy coordinates and then paste them rather than pin the image like other software does (drag and drop is less precise).
It also shows that some things evolved between v. 7.* and 8.0.0.
But if one needs a video, it still means the interface is unintuitive.
For example, you pasted your coordinates on the left. As I said, since the coordinate edit fields are on the right, that’s where I used to paste my data. The Paste coordinates option still doesn’t work there; it only works field by field.
Interesting that you pasted your data as latitude longitude  in degrees, whereas when I copy coordinates in digiKam they are formatted as   2° 47' 41,4"E,  48° 20' 40,3"N
Minor annoyances:
Why are two Apply buttons in addition to the Close button that will ask to apply anyway?
Who needs a compass when there is no way to turn the map?
Who needs the speed gauge and itinerary calculator?
What’s the purpose of having two maps shown at the same time?
Copy reference URL: “geo” is still broken.

It feels that I’m repeating myself a lot here. I hope this answers your question on what to remove or to repair. Thanks for considering it.
Comment 19 Maik Qualmann 2023-06-07 06:23:26 UTC
Well, the actual map view comes from the program Marble, which is quite well known in the Linux world. Unfortunately, the development is somewhat dormant at the moment.
The context menu above the map also comes from Marble here. We disabled it a long time ago, but users wanted us to enable it again to be able to measure distances etc. The compass can be disabled if they don't want it, like any other overlay item that could be enabled. The Geo:Url function works, it copies the location to the Clipboard. This Geo:Url is understood by the digiKam "paste" function as well as by other programs that support this format.

Maik
Comment 20 maison 2023-06-08 13:47:10 UTC
(In reply to Maik Qualmann from comment #19)
> Well, the actual map view comes from the program Marble, which is quite well
> known in the Linux world. Unfortunately, the development is somewhat dormant
> at the moment.
> The context menu above the map also comes from Marble here. We disabled it a
> long time ago, but users wanted us to enable it again to be able to measure
> distances etc. The compass can be disabled if they don't want it, like any
> other overlay item that could be enabled. The Geo:Url function works, it
> copies the location to the Clipboard. This Geo:Url is understood by the
> digiKam "paste" function as well as by other programs that support this
> format.
> 
> Maik

Thank you Maik for the explanations.
Indeed, the Geo: URL function works, although not compatible with the Windows clipboard.
I’m still puzzled by the other surprises as mentioned in comment 18.
Comment 21 caulier.gilles 2023-10-15 08:18:50 UTC
@maison,

This problem still reproducible with the new digiKam 8.2.0 pre-release Windows
installer available at usual place:

https://files.kde.org/digikam/

This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier
Comment 22 maison 2023-10-15 13:16:48 UTC
(In reply to caulier.gilles from comment #21)
> @maison,
> 
> This problem still reproducible with the new digiKam 8.2.0 pre-release
> Windows
> installer available at usual place:
> 
> https://files.kde.org/digikam/
> 
> This new bundle is based on last Qt framework 5.15.11 and KDE framework
> 5.110.
> 
> Thanks in advance
> 
> Gilles Caulier

Well, maybe a developer can take it for a future version then.
Comment 23 caulier.gilles 2023-10-15 13:21:43 UTC
>This problem still reproducible with the new digiKam 8.2.0 pre-release Windows installer available at usual place...

This is not a affirmation, but a question...

Gilles Caulier
Comment 24 maison 2023-10-15 13:27:52 UTC
Then if the QT and KDE frameworks are updated but not Marble, will this change anything in the Geolocation editor? If no, then we can leave the bug open.
Comment 25 caulier.gilles 2023-10-15 13:29:29 UTC
yes, Marble is updated of course...
Comment 26 Mark 2024-04-29 17:19:39 UTC
I would like to support the idea that the geolocation editing is not as clear as it could be, and to make a specific suggestion for improving it. Please keep in mind that I am a new user, so I may have missed something but I have been searching for the right way to do this for several hours now and still  haven't found it, so I think that is sufficient reason to consider the operation unclear.

It seems to me that the Map pane on the right should work in a similar manner to the other tools on the right, namely as both viewer and editor.  If the image has a geolocation  then it will display that location when a new image is selected. When no geolocation is present then the pane's map should show a default location. In either case, the user should be allowed to navigate within the map pane and click (or perhaps right-click) to set/update the geolocation of the selected image. Perhaps to make the operation more transparent, having a draggable pin in the pane's tool bar to cause the location to be set would be helpful.

Another option would be to just make it clear that you should _find_ the map location using an external mapping application like Google Maps and then past coordinates (which is what several posts and videos do). Then you could drop some functionality from the UI making it cleaner and easier to maintain.

Also, I cannot seem to get the Edit Bookmarks... item in the geolocation editor window to do anything. It seems this was reported long ago and fixed but it doesn't work for me. I'm on a Mac, running digiKam 8.3.0.
Comment 27 Maik Qualmann 2024-04-29 18:44:32 UTC
The map in the right sidebar is for viewing only. Like the metadata viewer, you cannot change this one either.
The geolocation is edited in a separate window that you can access in the Menu-> Items-> Geolocation edit...
There is also the bookmark menu here and you can simply drag and drop photos from the list below onto the map. Use the Marble-> OpenStreetMap map.

https://docs.digikam.org/en/geolocation_editor.html

Maik
Comment 28 Mark 2024-04-29 23:01:20 UTC
(In reply to Maik Qualmann from comment #27)
> The map in the right sidebar is for viewing only. Like the metadata viewer,
> you cannot change this one either.
> The geolocation is edited in a separate window that you can access in the
> Menu-> Items-> Geolocation edit...
> There is also the bookmark menu here and you can simply drag and drop photos
> from the list below onto the map. Use the Marble-> OpenStreetMap map.
> 
> https://docs.digikam.org/en/geolocation_editor.html
> 
> Maik

Thank you for responding so quickly.  I understand this how it works today. I was suggesting that it might be more convenient to have the Map pane act more like the Captions pane where editing is allowed. Perhaps after I use it the way it is more I will appreciate the logic of how it is now.