Cannot actively change the fullscreen mode

Bugs will be moved here once resolved.

Post » Wed Aug 17, 2016 12:07 pm

Problem Description
The project property is set to have the Configuration Setting 'Fullscreen in browser' to 'Scale outer'. However, I want to change the 'Fullscreen in browser' setting to 'Crop' when the keyboard is brought up. Using the browser object I set the action to 'Request fullscreen - Stretch (crop)' on Touch of a sprite button or touch of a Textbox field. The app does not appear switch to 'Crop' mode. If the project's property is set to 'Crop' from the beginning it behaves as expected, but I want to be able to switch from 'Scale outer' to 'Crop'.

Attach a Capx
https://dl.dropboxusercontent.com/u/527 ... dTest.capx

Description of Capx
The capx displays a Textbox field and a sprite button as event triggers to "attempt" to change the mode to 'Crop'.

Steps to Reproduce Bug
  • Export the project as a Mobile Cordova platform
  • Use Intel XDK to build the project as an Apple iPhone/iPad app.
  • Install the app on your iPhone/iPad
  • Click on either the Textbox field or the sprite button

Observed Result
Notice that the screen does not crop. Instead the screen narrows.

Expected Result
The screen should crop not narrow as the keyboard displays.

Affected Browsers
  • Safari (the default browser on iPhone?)

Operating System and Service Pack
Windows 7 Home Premium service pack 1

Construct 2 Version ID
Construct 2 Version Release 233 (64 bit)
B
9
S
2
Posts: 18
Reputation: 619

Post » Thu Aug 18, 2016 3:46 pm

I doubt that this is a bug but I'd recommend to wait for a response from Ashley himself.
There are a few posts like this and I even made a feature request similar to this report.
ImageImageImageImage
B
56
S
20
G
76
Posts: 634
Reputation: 43,357

Post » Sat Aug 20, 2016 11:18 am

Thanks for the reply TheRealDannyyy
B
9
S
2
Posts: 18
Reputation: 619

Post » Wed Aug 31, 2016 12:43 pm

Yeah, this is more of a feature request - the runtime is not really designed to change the fullscreen mode at runtime and the Browser object's action is not really meant to be a way to alter the project setting. Nor do I think it's sensible to use this approach to work better with a keyboard - going fullscreen tends to hide any other UI, which could include hiding the keyboard the user just tried to bring up...

I'm going to close this report in favour of the feature request that @TheRealDannyyy made.
Scirra Founder
B
387
S
229
G
87
Posts: 24,245
Reputation: 192,160

Post » Thu Sep 01, 2016 11:29 am

Thanks for the response Ashley!
B
9
S
2
Posts: 18
Reputation: 619


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest