loleaflet/src/layer/tile/TileLayer.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit 421e4a4d8408805b3a6950082d9656085e6157bf Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Thu Mar 7 13:26:22 2019 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu Mar 28 11:22:38 2019 +0200 tdf#123874: Don't do the SVG preview thing in the iOS app as it crashes WebKit Sure, this is just a stopgap solution, it would be good to figure out a way to have the functionality working. diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index 726cb622b..42c880e57 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -657,7 +657,12 @@ L.TileLayer = L.GridLayer.extend({ this._twipsToLatLng(topLeftTwips, this._map.getZoom()), this._twipsToLatLng(bottomRightTwips, this._map.getZoom())); this._graphicSelectionAngle = (strTwips.length === 5) ? parseInt(strTwips[4]) : 0; - this._map._socket.sendMessage('rendershapeselection mimetype=image/svg+xml'); + // Workaround for tdf#123874. For some reason the handling of the + // shapeselectioncontent messages that we get back causes the WebKit process + // to crash on iOS. + if (!window.ThisIsTheiOSApp) { + this._map._socket.sendMessage('rendershapeselection mimetype=image/svg+xml'); + } } this._onUpdateGraphicSelection(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits