Bug 360462 - Can't drag image from list to map in Google Maps mode
Summary: Can't drag image from list to map in Google Maps mode
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Drag&Drop (show other bugs)
Version: 5.0.0
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-13 10:36 UTC by Michal Sylwester
Modified: 2017-08-02 17:44 UTC (History)
4 users (show)

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


Attachments
Screenshot of the geolocation editor with action marked (158.28 KB, image/png)
2016-03-13 11:25 UTC, Michal Sylwester
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Sylwester 2016-03-13 10:36:12 UTC
When trying to drag an image from list to the map while in Google Maps mode the mouse cursor indicates it is not possible (and it actually isn't). In OpenStreetMap mode it works as expected.

Also (I can open a separate wishlist/bug items for these, just le me know):
- would be nice to be able to drag images directly on the map (I thought it used to be possible?)
- add a minimum height to the images list (somehow I managed to open the window with the list invisible, took me a while to find it)
- geolocation editor does not remember it's size for me (related to 357738?)

Reproducible: Always

Steps to Reproduce:
1. Open geolocation editor
2. Ensure google maps mode is being used
3. Try to drag image from the list to the map

Actual Results:  
"Can't do this" mouse cursor, when mouse button is released nothing happens 

Expected Results:  
Image is geotagged at the "drop" coordinates

Workaround: Use OpenStreetMap map instead
Comment 1 caulier.gilles 2016-03-13 10:42:01 UTC
Please show us between which views the D&D is not possible. Take a screenshot.

Thanks in advance

Gilles Caulier
Comment 2 Michal Sylwester 2016-03-13 11:25:01 UTC
Created attachment 97862 [details]
Screenshot of the geolocation editor with action marked

Red arrow indicates drag start end drop points. After drop nothing happens.
Unfortunately I didn't manage to include the mouse pointer...
Note Google Maps in map area. With OpenStreetMap the action is successful.
Comment 3 caulier.gilles 2016-03-13 12:02:23 UTC
Same problem than bug #184833. At least it touch the same software component in DK.

Gilles Caulier

*** This bug has been marked as a duplicate of bug 184833 ***
Comment 4 Michal Sylwester 2016-03-13 12:17:59 UTC
Interesting, I forgot to mention this, but it works fine on 4.14 from Ubuntu. I will try to check whether they patched it somehow...
Comment 5 Milan Knížek 2016-07-09 15:03:16 UTC
I wonder why this is marked as duplicate of bug 184833 which suggest "drag&drop" as one of wanted features for the geo-map sidebar in the album view.

This bug is about Geo-tagging window, where this functionality used to work for Google Maps & OSM in the past already and it still works at least for OSM in digiKam 5.0.
Comment 6 caulier.gilles 2016-07-09 15:16:52 UTC
Because it's the same software component (widget)...

Gilles Caulier
Comment 7 flinkebernt 2016-07-12 08:22:32 UTC
I have the same problem with digikam 5.0. I can't drag and drop images in the geolocation window.
Switching to OpenStreetmap doesn't help. 
Running Kubuntu 16.04 with digikam installed from Philip Johnsons PPA.
Comment 8 Kristian 2016-08-20 21:53:32 UTC
Same problem here, bug confirmed for digikam 5.1.: Open Street Map (Marble) Drag&Drop works, while with Google it is not possible. It used to work pre digikam 5.0. 

Workaround for placing cursors on Google Maps: Copy coordinate to image and move the pin around.
Comment 9 caulier.gilles 2016-08-21 02:42:58 UTC
Git commit f9523ed3d970927defd9d3dae7ced22ba52d4e1f by Maik Qualmann.
Committed on 14/08/2016 at 08:17.
Pushed by mqualmann into branch 'master'.

fix item drop to Google Maps
FIXED-IN: 5.2.0

M  +2    -1    NEWS
M  +2    -1    utilities/geolocation/geoiface/backends/htmlwidget.cpp

http://commits.kde.org/digikam/f9523ed3d970927defd9d3dae7ced22ba52d4e1f