Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullscreen Mode Always Scaling to Fill Screen in Firefox #1256

Closed
tjkopena opened this issue Oct 26, 2014 · 4 comments
Closed

Fullscreen Mode Always Scaling to Fill Screen in Firefox #1256

tjkopena opened this issue Oct 26, 2014 · 4 comments

Comments

@tjkopena
Copy link

I don't think issue #690 has actually been resolved, or the problem has reappeared. For me in Phaser 2.1.3, Firefox 32.0.3 on a Linux laptop, Phaser games going fullscreen in SHOW_ALL mode are always scaling to fill the entire screen and not maintaining proportions and content. The same examples (e.g., [1]) work fine in Chrome/Chromium.

The code in Phaser for starting and stopping fullscreen is not immediately readable to me so I haven't been able to diagnose further.

Thx

[1] http://www.rocketshipgames.com/blogs/tjkopena/2014/10/fullscreen-scaling-in-phaser/

@pnstickne
Copy link
Contributor

This might be fixed under #1278 - which fixes a bunch of mismatched scaling/alignment/refresh issues in Chrome.

However I cannot get Firefox (33, Windows) to jump to full-screen, even under the master branch. (What magical incantation am I missing?)

@pnstickne
Copy link
Contributor

Also, with the PR code there is also no need to call refresh if the scale mode or alignment has been changed.

@pnstickne
Copy link
Contributor

Ahh, this is not fixed in FF with the PR - the RESIZE mode and correctly restoring the state in normal mode are fixed, however.

@photonstorm
Copy link
Collaborator

Hopefully this is now covered in the latest dev build. Feel free to re-open if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants