Skip to content
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

Image: Fix stencil instructions leaking to user canvas.before/canvas instructions #8276

Merged
merged 1 commit into from Jun 10, 2023

Conversation

DexerBR
Copy link
Contributor

@DexerBR DexerBR commented Jun 10, 2023

The feature introduced in this PR leaks stencil instructions to other user canvas.before/canvas instructions. Therefore, as discussed in Kivy's Discrod #dev channel, the most appropriate approach (taken in this PR) would be to limit the stencil instructions internally, preventing anything else drawn on the layers of the canvas from being clipped.

Maintainer merge checklist

  • Title is descriptive/clear for inclusion in release notes.
  • Applied a Component: xxx label.
  • Applied the api-deprecation or api-break label.
  • Applied the release-highlight label to be highlighted in release notes.
  • Added to the milestone version it was merged into.
  • Unittests are included in PR.
  • Properly documented, including versionadded, versionchanged as needed.

@misl6 misl6 added the Component: Widgets kivy/uix, style.kv label Jun 10, 2023
@misl6 misl6 added this to the 2.3.0 milestone Jun 10, 2023
Copy link
Member

@misl6 misl6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you! ❤️

(We will backport it to 2.2.x soon 😀)

@misl6 misl6 merged commit d74887c into kivy:master Jun 10, 2023
34 checks passed
@DexerBR DexerBR deleted the fix_image_stencil branch June 10, 2023 14:01
misl6 pushed a commit to misl6/kivy that referenced this pull request Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Widgets kivy/uix, style.kv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants