Skip to content

CB-12366: (ios) Reduce tmpWindow level to prevent overlapping statusbar #209

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

Closed
wants to merge 1 commit into from

Conversation

reidab
Copy link
Contributor

@reidab reidab commented Jan 19, 2017

Platforms affected

iOS

What does this PR do?

Reduces the window level of the tmpWindow introduced in #187 to UIWindowLevelNormal. With the window at UIWindowLevelAlert, I'm seeing it obscure the iOS status bar when presented.

@manucorporat I'd be curious to know if the higher window level is required to solve the issues you were looking at in #187.

What testing has been done on this change?

Testing in Simulator iOS 10, Device iOS10.

Checklist

  • Reported an issue in the JIRA database
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

@cordova-qa
Copy link

Cordova CI Build has one or more failures.

Commit - Link
Dashboard - Link

Builder Name Console Output Test Report Device Logs
Windows 10 Store Link Link Link
iOS 9.3 Link Link Link
iOS 10.0 Link Link Link
Android 4.4 Link Link Link
Android 5.1 Link Link Link

@cordova-qa
Copy link

Cordova CI Build has completed successfully.

Commit - Link
Dashboard - Link

Builder Name Console Output Test Report Device Logs
Windows 10 Store Link Link Link
iOS 9.3 Link Link Link
iOS 10.0 Link Link Link
Android 4.4 Link Link Link
Android 5.1 Link Link Link

@jcesarmobile
Copy link
Member

Thanks for the PR, I've merged it after making sure that changing the window level doesn't break the changes introduced in #187

DenisAtFourth pushed a commit to Fourth-Engage/cordova-plugin-inappbrowser that referenced this pull request Jun 7, 2017
@CVeniamin
Copy link

CVeniamin commented Oct 1, 2017

This PR solves one problem but creates another which is magnifying glass will show content from behind InAppBrowser. The issue is that SuppressesLongPressGesture and Suppresses3DTouchGesture cordova-ios core are ignored by InAppBrowser and current InAppBrowser content isn't displayed on magnifiying glass. By reverting everything related to magnifying glass works.
My recommendation is to change setWindowLevel:UIWindowLevelNormal to setWindowLevel:UIWindowLevelNormal + 1 this will fix magnifying issue.

@jcesarmobile
Copy link
Member

@CVeniamin create an issue on issues.cordova.io if you haven't done it yet.

@CVeniamin
Copy link

Here it goes... CB-13488

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

Successfully merging this pull request may close these issues.

4 participants