These problems may be associated with each other, hence this double bug report.
bug 1. When running in IE11 the Browser : Request Fullscreen does not function (the blog here states that this api should be supported).
bug 2. When running in Node Webkit, the Browser : Cancel Fullscreen causes the window to resize but the center of the viewport appears to be the origin instead of the center of the layout. This only happens if Fullscreen In Browser is set to Off.
Edit to add that 1/2 way through my Ludum Dare game and I cannot use Fullscreen in browser set to off - for some reason it scales the layout down to something like 0.9 scale. Weird - might be associated with bug 2.
Attach a Capx
Description of Capx
The capx opens a Fullscreen Off display 800x450 with some expanding instructions and a sprite to click. Select the browser to test and run the layout. Click on the sprite to toggle the window between Browser : Request Full Screen and Browser : Cancel Fullscreen.
Steps to Reproduce Bug
- Bug 1. Run in IE11 and click the sprite - the browser does not go full screen.
- Bug 2. Run in Node Webkit; click the sprite to go full screen then click the sprite again to cancel full screen and you see the display centers on or near the origin instead of the middle of the layout.
The browser object should expand to full screen and should cancel full screen correctly.
- Chrome: (NO)
- FireFox: (NO)
- Internet Explorer: (YES)
- Node Webkit: (YES)
Operating System and Service Pack
Construct 2 Version ID