Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bug 19670 ]] Fix effective working screenrect on Android - #6691

Merged
livecodepanos merged 1 commit into
livecode:develop-9.0from
montegoulding:bugfix-19670
Sep 24, 2018
Merged

[[ Bug 19670 ]] Fix effective working screenrect on Android#6691
livecodepanos merged 1 commit into
livecode:develop-9.0from
montegoulding:bugfix-19670

Conversation

@montegoulding

Copy link
Copy Markdown
Contributor

This patch fixes the effective working screenrect on Android when
the status bar is hidden. Previously to determine the area not covered
by screen decorations we used getGlobalVisibleRect, however this only
took clipping into account and in some cases decorations do not clip the
view.

This patch uses getWindowVisibleDisplayFrame which is documented to tell
you the available area where content can be placed and remain visible to users.

This patch fixes the effective working screenrect on Android when
the status bar is hidden. Previously to determine the area not covered
by screen decorations we used `getGlobalVisibleRect`, however this only
took clipping into account and in some cases decorations do not clip the
view.

This patch uses `getWindowVisibleDisplayFrame` which is documented to tell
`you the available area where content can be placed and remain visible to
users.`
@montegoulding montegoulding added this to the 9.0.2-rc-1 milestone Sep 18, 2018
@livecodeali

Copy link
Copy Markdown
Member

@livecode-vulcan review ok 7dc0f89

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @livecodeali ok 7dc0f89

livecode-vulcan added a commit that referenced this pull request Sep 24, 2018
[[ Bug 19670 ]] Fix effective working screenrect on Android

This patch fixes the effective working screenrect on Android when
the status bar is hidden. Previously to determine the area not covered
by screen decorations we used `getGlobalVisibleRect`, however this only
took clipping into account and in some cases decorations do not clip the
view.

This patch uses `getWindowVisibleDisplayFrame` which is documented to tell
`you the available area where content can be placed and remain visible to
users.`
@livecode-vulcan

Copy link
Copy Markdown
Contributor

😎 test success 7dc0f89

  • try-community-armv6-android-sdk26_ndk16r15: success
  • try-community-armv7-android-sdk26_ndk16r15: success
  • try-community-arm64-android-sdk26_ndk16r15: success
  • try-community-x86-android-sdk26_ndk16r15: success
  • try-community-x86_64-android-sdk26_ndk16r15: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos11.4: success
  • try-community-universal-ios-iphonesimulator11.4: success
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: success
  • try-community-x86_64-win32: success

@livecodepanos
livecodepanos merged commit 1fd7937 into livecode:develop-9.0 Sep 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants