Bug 417140 - Map panel shows white rectangle when using Google Maps
Summary: Map panel shows white rectangle when using Google Maps
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-GoogleMaps (show other bugs)
Version: 7.0.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-04 12:21 UTC by MarcP
Modified: 2022-02-05 21:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments
Screenshot showing the map issue (368.74 KB, image/png)
2020-02-04 12:21 UTC, MarcP
Details
attachment-7623-0.html (1.20 KB, text/html)
2020-06-30 21:54 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MarcP 2020-02-04 12:21:05 UTC
Created attachment 125656 [details]
Screenshot showing the map issue

SUMMARY

Any of the map panels (the left, right, or Map view), show a white rectangle instead of the actual map, when using Google Maps. The maps work fine if you use Marble Virtual Globe. See attached screenshot.

I don't know if it's just me or my configuration, as I also tried an older version of digikam in which I am sure it worked before, with the same result.


STEPS TO REPRODUCE
1. In digikam, select any picture with geolocation
2. In the map panel, "Map settings", select "Google Maps"

OBSERVED RESULT
There is a white rectangle instead of the map.

EXPECTED RESULT
The map from google maps is shown.

SOFTWARE/OS VERSIONS
digikam-7.0.0-beta3-20200130T131235-x86-64.appimage in Ubuntu 18.04LTS with Unity
Comment 1 Maik Qualmann 2020-02-04 12:37:02 UTC
The AppImage currently uses the QWebEngine. We already have various reports of problems to crash. QWebEngine is demanding in terms of the graphics card and drivers used. There is also the problem of the AppImage container. Here with my native digiKam version I have no problems after switching to AMD and Radeon drivers.

Gilles let's switch back to Webkit in the AppImage. We may have other problems then, but maybe less.

Maik
Comment 2 caulier.gilles 2020-02-04 12:39:45 UTC
Maik,

I read somewhere (but where ?) that qtwebengine has a env. variable to turn on/off opengl support with this web backend...

Gilles
Comment 3 Maik Qualmann 2020-02-04 18:36:10 UTC
Marc, try setting the ENV variable in the console before you start digiKam AppImage:

export QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"

Maik
Comment 4 MarcP 2020-02-04 19:52:16 UTC
I tried tsetting that environment variable, but it didn't seem to work.

From the console, when I tried to load a map using google maps, I got the following:

Digikam::ItemInfo::fromLocalFile: No location could be retrieved for ""
[10617:12843:0204/204910.833371:ERROR:nss_util.cc(748)] After loading Root Certs, loaded==false: libnssckbi.so: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix
[10617:12843:0204/204910.836230:ERROR:cert_verify_proc_nss.cc(969)] CERT_PKIXVerifyCert for maps.google.com failed err=-8179
[10617:11099:0204/204910.837379:ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1, SSL error code 1, net_error -202


(The error regarding libnssckbi.so, translated, would be: cannot open shared object file: No such file or directory)
Comment 5 Maik Qualmann 2020-02-04 20:33:59 UTC
We already had this problem on Ubuntu: Bug 417008

Maik
Comment 6 caulier.gilles 2020-02-05 09:49:22 UTC
Git commit 881949d8c5f93884714481b551ca835ffc08f379 by Gilles Caulier.
Committed on 05/02/2020 at 09:49.
Pushed by cgilles into branch 'master'.

AppImage: disable GPU with QtWebEngine

M  +1    -0    project/bundles/appimage/data/AppRun

https://invent.kde.org/kde/digikam/commit/881949d8c5f93884714481b551ca835ffc08f379
Comment 7 Maik Qualmann 2020-02-18 17:10:44 UTC
*** Bug 417833 has been marked as a duplicate of this bug. ***
Comment 8 Unknown 2020-06-30 12:28:18 UTC
Hi Maik,

Still not solved in 7.0RC / Ubuntu 20.4. Setting the environment variable as advised does not help. Anything else I can (should) do? It is pretty important for me, cause I make a lot of nature observations with my GPS equipped camera.

Regard and thanks for your work,
Theo
Comment 9 Maik Qualmann 2020-06-30 19:40:38 UTC
Look at bug 417008, you need to create a symbolic link:

ln -s /usr/lib/x86_64-linux-gnu/nss/libnssckbi.so /usr/lib/

Maik
Comment 10 Unknown 2020-06-30 21:54:16 UTC
Created attachment 129800 [details]
attachment-7623-0.html

Great! Bingo!
Thanks a lot.
'
Vriendelijke  groet,
Theo Groen


Op di 30 jun. 2020 om 21:40 schreef Maik Qualmann <bugzilla_noreply@kde.org
>:

> https://bugs.kde.org/show_bug.cgi?id=417140
>
> --- Comment #9 from Maik Qualmann <metzpinguin@gmail.com> ---
> Look at bug 417008, you need to create a symbolic link:
>
> ln -s /usr/lib/x86_64-linux-gnu/nss/libnssckbi.so /usr/lib/
>
> Maik
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 11 MarcP 2020-07-31 14:21:43 UTC
Hi. I can confirm that this bug is still present in the final 7.0.0 release (64 bit, appimage format), running under Ubuntu 20.04LTS.
Comment 12 Maik Qualmann 2022-02-05 21:18:49 UTC
Marc,

i think this bug can be closed? 

Maik
Comment 13 MarcP 2022-02-05 21:19:48 UTC
Yes, I have not seen that happen for a while.
Comment 14 Maik Qualmann 2022-02-05 21:23:35 UTC
Thanks for the feedback.

Maik