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

[[ Bug 22322 ]] Fix graphical artefacts after removing focus from a group on mobile#7144

Merged
livecodepanos merged 2 commits into
livecode:develop-9.5from
livecodeian:bugfix-tilecache-group-keyfocus
Sep 13, 2019
Merged

[[ Bug 22322 ]] Fix graphical artefacts after removing focus from a group on mobile#7144
livecodepanos merged 2 commits into
livecode:develop-9.5from
livecodeian:bugfix-tilecache-group-keyfocus

Conversation

@livecodeian

Copy link
Copy Markdown
Contributor

This patch fixes bug 22322, where removing focus from a group could cause graphical artefacts when using acceleratedRendering in combination with the "Motif" lookandfeel

@livecodeian livecodeian added this to the 9.5.1-rc-1 milestone Aug 15, 2019
@runrevmark

Copy link
Copy Markdown
Contributor

Wouldn't a simpler fix be just to override gettransient() in MCGroup and return 0... Since groups never render a focus border, so their transient rect never changes?

This patch adds a release note for bug 22322, where removing focus from a group
could cause graphical artefacts when using acceleratedRendering
… changed

This patch fixes an issue where changes to group keyboard focus which change the
effective rect of the group would not trigger an update of the layer rect,
leading to a mismatch between the previously cached tiles and the offset at
which they are rendered.

As groups don't render a focus border, the effective rect should not change when
focused.
@livecodeian livecodeian force-pushed the bugfix-tilecache-group-keyfocus branch from ab57645 to 76b901a Compare August 16, 2019 10:15
@livecodeian

Copy link
Copy Markdown
Contributor Author

@runrevmark updated

@livecodeali

Copy link
Copy Markdown
Member

@livecode-vulcan review ok 76b901a

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @livecodeali ok 76b901a

livecode-vulcan added a commit that referenced this pull request Sep 13, 2019
…-keyfocus

[[ Bug 22322 ]] Fix graphical artefacts after removing focus from a group on mobile

This patch fixes bug 22322, where removing focus from a group could cause graphical artefacts when using acceleratedRendering in combination with the "Motif" lookandfeel
@livecode-vulcan

Copy link
Copy Markdown
Contributor

😎 test success 76b901a

  • try-community-armv6-android-sdk26_ndk16r15: success
  • try-community-armv7-android-ndk16r15: success
  • try-community-arm64-android-ndk16r15: success
  • try-community-x86-android-ndk16r15: success
  • try-community-x86_64-android-ndk16r15: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos12.1: success
  • try-community-universal-ios-iphonesimulator12.1: 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 895cea4 into livecode:develop-9.5 Sep 13, 2019
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.

5 participants