You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT this issue is caused by a faulty script upstream in mwOffliner - openzim/mwoffliner#2075
This is a regression probably introduced when dealing with custom protocols. Clicking on a map marker will attempt to navigate in-app to the Open Street Maps or OS Maps app (according to Config setting), and this is of course blocked by the CSP, causing the app to enter a completely unresponsive state (it has to be restarted to continue using it).
Workaround: use Ctrl-click on a map marker to ensure a new window is opened with a map centred on the marker's location. There is no current touchscreen solution for this in the Electron app. However, the mobile (UWP WinRT) version is unaffected by the bug.
Although I was sure that I had included geo: and bingmaps: protocols for special handling, it's not working in the Electron app. W10M is unaffected.
The text was updated successfully, but these errors were encountered:
Jaifroid
changed the title
Clicking on map markers in Wikivoyage articles crashes the Electron app (blocked by CSP) [workaround below]
Clicking on external links and map markers in Wikivoyage articles crashes the Electron app (blocked by CSP) [workaround below]
Aug 8, 2024
I'll need to work around this issue at least for the PWA, which will fix the UWP app that relies on it. I may need to release an updated Electron app, as the issue is more widespread than I thought, though it can be dealt with using the Ctrl-click workaround. Unfortunately that won't work on mobile.
So, this issue is fixed in the PWA and in the latest base app release. Given the workarounds, I don't think it's crucial to reissue the Wikivoyage app, so closing.
EDIT this issue is caused by a faulty script upstream in mwOffliner - openzim/mwoffliner#2075
This is a regression probably introduced when dealing with custom protocols. Clicking on a map marker will attempt to navigate in-app to the Open Street Maps or OS Maps app (according to Config setting), and this is of course blocked by the CSP, causing the app to enter a completely unresponsive state (it has to be restarted to continue using it).Workaround: use Ctrl-click on a map marker to ensure a new window is opened with a map centred on the marker's location. There is no current touchscreen solution for this in the Electron app. However, the mobile (UWP WinRT) version is unaffected by the bug.
Although I was sure that I had includedgeo:
andbingmaps:
protocols for special handling, it's not working in the Electron app. W10M is unaffected.The text was updated successfully, but these errors were encountered: