Bug 425449 - Right-click geolocation context menu not working when using Google Maps
Summary: Right-click geolocation context menu not working when using Google Maps
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-GoogleMaps (show other bugs)
Version: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-17 09:08 UTC by Keith Olson
Modified: 2022-01-09 18:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Olson 2020-08-17 09:08:17 UTC
SUMMARY
Right-click geolocation context menu not working when using Google Maps

STEPS TO REPRODUCE
1. Nothing happens when you right-click on Google Maps.  Only Marble works, and its lack of positional precision is unacceptable.

OBSERVED RESULT
Nothing happens, leading to frustration in trying to add position information to photos.

EXPECTED RESULT
That the context menu would work as it does with Marble.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-08-17 09:12:05 UTC
Yes, Google Maps has no context menu, that's normal. The normal workflow is to drag and drop images from the image list onto the map. Several images can also be dragged onto the map at the same time.

Maik
Comment 2 caulier.gilles 2020-08-17 10:26:09 UTC
Note: this report is for Windows where Webkit still used instead WebEngine (Linux, MacOS) for technical reasons.

Gilles Caulier
Comment 3 Keith Olson 2020-08-26 07:41:31 UTC
(In reply to Maik Qualmann from comment #1)
> Yes, Google Maps has no context menu, that's normal. The normal workflow is
> to drag and drop images from the image list onto the map. Several images can
> also be dragged onto the map at the same time.
> 
> Maik

(In reply to caulier.gilles from comment #2)
> Note: this report is for Windows where Webkit still used instead WebEngine
> (Linux, MacOS) for technical reasons.
> 
> Gilles Caulier

Thanks for the replies, y'all.

1. I have tried to drag images from the middle section to both the map (Google & Marble/OpenStreetMap) on the right side and the left, and I just get the '(\)' icon.  Am I missing something?

2. As the URL for the Google map image HAS to include the lat/long of the image, 
   A) there should be a way to insert it directly into images
   or
   B) instead of simply displaying a 'live feed' for the map, cache it and use the cached image instead, allowing for use of the context menu.
   or
   C) at least expose the position in a text box below the map for users to copy.

3. Does the context menu in Google Maps work properly in Linux & MacOS, then?  If so, when is WebEngine scheduled to be added for the Windows version?

4. Once I switched Marble to use OpenStreetMap, I gained the accuracy needed (DOH!)  I suggest making OSM the default map instead of Atlas to prevent confusion.

Thank you for your time.
Keith
Comment 4 caulier.gilles 2020-08-26 07:49:14 UTC
>when is WebEngine scheduled to be added for the Windows version?

For this point, QtWebEngine use huge Chromium web browser source code from Google.

Windows version is cross-compiled under Linux using MXE (aka MinGw in background - the GCC port to Windows) and "Google" refuse to support Gcc in favor to MSVC compiler for Windows target ! Probably because Google + Microsoft = love for the Web browser supremacy...

So for the moment QtWebEngine cannot be cross compiled. It's also through for all cross compiler based on GCC, as for Raspberry pi target for ex.

There is a report on Qt bugzilla about this topic, as all Qt component can be cross compiled, excepted QtWebEngine !

The solution is to use clang instead Gcc to cross compile with MXE. I must report this idea to MXE team, but time is missing (:=)))...

Best

Gilles Caulier
Comment 5 Maik Qualmann 2020-08-26 08:48:15 UTC
This is not dependent on QWebKit or QWebEngine. The Google Map view never had a right context menu. We only left the right context menu active in Marble at the request of the users. Drag & drop to the map only works in the geolocation editor, not in the digiKam main view.

Maik
Comment 6 caulier.gilles 2022-01-09 18:19:34 UTC
Ok, thanks Maik for these clarifications. I close this file as RESOLVED/NOT A BUG