Page 1 of 1

Fullscreen mode causing issues

Posted: Mon Feb 01, 2021 5:39 pm
by gsillevis
Hello!

I've had an issue lately. When I set fullscreenmode to Letterbox and fullscreenmode to true in HTML5, it causes some browsers to crash, sometimes.

I'm personally able to load them, but when some other people try to access the app, it simply refuses to load and then the browser crashes.

Is this a known issue? Or am I doing something wrong?

Re: Fullscreen mode causing issues

Posted: Mon Feb 01, 2021 8:27 pm
by FourthWorld
I'm not sure whether it's documented, but given what the html export is I'm also not sure what it could be expected to do in the confines of a browser window.

What were you aiming to have happen?

And does it actually crash the browser, or something else? If it crashes the browser we should submit a bug report to that browser's team, as no script should be able to make it crash.

Re: Fullscreen mode causing issues

Posted: Tue Feb 02, 2021 10:43 am
by gsillevis
Thanks for your reply!

The app is currently 1123px wide. On some browsers, the app loads bigger than the screen. Ie, they have to zoom out (Ctrl -) to fit the whole app in the window.

What fullscreen normally does in this context is make the app fit the screen automatically.

But what it ends up doing (to some users) is causes the file to fail to load, and ultimately the browser gives up and gives an error.

Re: Fullscreen mode causing issues

Posted: Tue Feb 02, 2021 1:26 pm
by FourthWorld
gsillevis wrote:
Tue Feb 02, 2021 10:43 am
What fullscreen normally does in this context is make the app fit the screen automatically.
Right. That's where the mystery lies: LC exports to an HTML canvas object, which is contained inside the browser window. It may be that LC is getting confused about the difference between the screen and the canvas bounds, unable to step outside the window.

Re: Fullscreen mode causing issues

Posted: Wed Feb 03, 2021 12:53 pm
by williamdesmet
I set the fullscreenmode to 'ShowAll' and no problems with that in Chrome, Safari or Chrome Edge and I use the standard 1024x768 iPad size.
What I do notice is that due to the size of the files it does take time to load and the speed of the internet connection is also responsible for that.
And the more tabs open in the browser the longer it takes (used/available memory?).

On older cheaper Chromebooks with 4 GB RAM it does work but sometimes the response in the app is too slow.

Re: Fullscreen mode causing issues

Posted: Thu Feb 04, 2021 4:45 pm
by gsillevis
I haven't tried it with fullscreenmode ShowAll (I use letterbox). It works fine on mine, but some computers refuse to load it. I can't figure out why, but it's literally the only thing I change (set fullscreen of this stack to false) and suddenly it works.

Re: Fullscreen mode causing issues

Posted: Sat Feb 13, 2021 10:40 am
by rareskyone
i am lately facing problem with fullscreeen mode. whenever i try to open the app it crashes and refuse to reopen .fullscreen mode also hang the system.

Re: Fullscreen mode causing issues

Posted: Sat Feb 13, 2021 6:13 pm
by jacque
Are you sure the problem is fullscreenmode? Does the app work without that line?

Re: Fullscreen mode causing issues

Posted: Sat Feb 13, 2021 10:44 pm
by FourthWorld
What would fullscreenmode do within the confines of an HTML canvas object?