agical / friendsunhosted

FRIENDS#UNHOSTED - Own your network!
http://friendsunhosted.com/
Other
13 stars 2 forks source link

"blue screens" on android 4.1 with chrome for Android #31

Closed morkeleb closed 11 years ago

morkeleb commented 11 years ago

Just did a short test where I followed a link from twitter and the page didn't load. Just the Blue background.

jancborchardt commented 11 years ago

This is probably because of the Javascripts being in the head and blocking loading of the page. require.js takes ~14 seconds on my machine (people normally quit the app after 10s of waiting max).

@brolund we should put the Javascript last thing on the page so that the HTML & CSS will display before as indication something happens.

morkeleb commented 11 years ago

This is a very probable cause.

brolund commented 11 years ago

Interesting. On my HTC standard browser on Android 4 it all works fine, and almost as fast as on my laptop. On Chrome in the same phone it freezes when abt half the page is rendered, and then nothing happens.

Not saying we won't try to fix it ;-) , just weird that it is so different...

brolund commented 11 years ago

Weird. After typing some in the url of the Chrome browser, and then getting back to the first page, it works fine. Any ideas?

brolund commented 11 years ago

@morkeleb Can you try the new version? It should be much nicer to mobile devices. It seems to work pretty fine in both Chrome and the default HTC browser (granted, on my 4 kernel HTC, but anyways... ;-))

morkeleb commented 11 years ago

Seems to work now. Still get a text that says loading when loading is done. But it is much faster.

brolund commented 11 years ago

Excellent! I'll close this.