Wikimedia-Austria / WikiDaheim

The front-end of WikiDaheim
https://wikidaheim.at
7 stars 4 forks source link

No map/error is shown without WebGL #20

Closed simon04 closed 4 years ago

simon04 commented 7 years ago

See https://de.wikipedia.org/wiki/Wikipedia_Diskussion:WikiDaheim#Fehler_in_der_JS_Konsole

Error: Failed to initialize WebGL
Stack-Trace:
[189]</S</e.prototype._setupPainter@https://wikidaheim.at/client/vendor.js:1:554907
e@https://wikidaheim.at/client/vendor.js:1:543572
h/$</n.prototype.componentDidMount@https://wikidaheim.at/client/vendor.js:1:889447
a</t.prototype.notifyAll@https://wikidaheim.at/client/vendor.js:1:634004
close@https://wikidaheim.at/client/vendor.js:1:832534
closeAll@https://wikidaheim.at/client/vendor.js:1:107018
perform@https://wikidaheim.at/client/vendor.js:1:106516
perform@https://wikidaheim.at/client/vendor.js:1:106436
perform@https://wikidaheim.at/client/vendor.js:1:12725
T@https://wikidaheim.at/client/vendor.js:1:12902
closeAll@https://wikidaheim.at/client/vendor.js:1:107018
perform@https://wikidaheim.at/client/vendor.js:1:106516
batchedUpdates@https://wikidaheim.at/client/vendor.js:1:825701
u@https://wikidaheim.at/client/vendor.js:1:11886
r@https://wikidaheim.at/client/vendor.js:1:603875
enqueueSetState@https://wikidaheim.at/client/vendor.js:1:605003
r.prototype.setState@https://wikidaheim.at/client/vendor.js:1:659369
l/</r</s.prototype.handleChange@https://wikidaheim.at/client/vendor.js:1:908615
p@https://wikidaheim.at/client/vendor.js:1:665636
r/</</<@https://wikidaheim.at/client/vendor.js:1:942566
dispatch@https://wikidaheim.at/client/vendor.js:1:942871
g/</<@https://wikidaheim.at/client/client.js:1:84498

To reproduce: Firefox, about:config, set webgl.disabled to true, load WikiDaheim.

BraveheartWikimedia commented 6 years ago

@reiterbene Is this something that's easily fixable?

reiterbene commented 6 years ago

Unfortunatelly the error is triggered inside of the mapbox-component. But I will have a look if there is any other way to determinate if mapbox has loaded successfully.

reiterbene commented 4 years ago

As all modern browsers are capable of webGL I think it is not necessary to add a warning anymore. @simon04 , @BraveheartWikimedia ?

BraveheartWikimedia commented 4 years ago

Would agree with that.