SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT In the latest version of digikam (digiKam-8.0.0-beta1-20230308T171724-Win64), the map from Google Maps is no longer displayed correctly. The corresponding window on the right-hand side is then only empty. In the other windows with map display, only a very small map section is shown in the upper left corner. These map sections can neither be moved nor resized. A display with Marble works without problems. EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: Windows 10 (22H2) macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Yes, I can confirm on Windows. QWebEngine does not seem to load the page correctly. Gilles, have the Qt packages been updated recently for building the Windows bundle? Maik
I just see that Windows uses QWebkit, ok then QWebkit can't load the page anymore. Maik
A test with the nightly MSVC build and QWebEngine still works. Unless something is generally broken in QWebkit, we can try with a fake user agent string. Maik
yes QtWebkit is cross compiled with MXE. QtWebEngine do not yet support cross compilation (it's also true for ARM platform, even if Apple Silicon start to be supported with Qt6). I hope this situation will be better in the future...
my MXE environment have been fully recompiled on 15 November 2022. Gilles
The problem is not Windows specific. I compiled digiKam on Linux with the latest QWebKit and can reproduce the problem exactly. Maik
In other words, Google has changed something... Maik
No chance, QWebKit can no longer process the Google Javascript Maps API. No matter which QWebSettings are still activated, or with changed user agent string, the page will no longer load. Maik
Thank you for your efforts to solve the problem. If I understand correctly, then the use of Google Maps is no longer possible for the time being? I would like to refer you once again to the "GeoSetter" programme. Would it also be possible to use your own account with Google? Stephan
As an alternative, we currently have a nightly digiKam build. This is compiled with the MSVC Microsoft compiler and is even signed. It's not complete yet though, so it doesn't currently have HEIF support. However, instead of QWebKit, it uses the modern QWebEngine (based on Chromium). The path to ExifTool has to be changed in the digiKam setup because exiftool.exe is in the "bin" subfolder. Otherwise the version should be good to use. https://binary-factory.kde.org/view/Windows%2064-bit/job/Digikam_Nightly_win64/ (*.exe file) Maik
Hi Maik, If QtWebkit is not suitable anymore to display GoogleMaps, it will be safe to remove GoogleMaps option everywhere with webkit backend. Best Gilles
At the moment QWebKit works again with Google Maps without us changing anything. Maik