Repository navigation
revert: Revert native element Win32 coordinate/z-order changes (#23196, #23126) - #23210
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reverts recent Win32 Skia native-element hosting changes (from #23196 and #23126) by moving native HWND positioning back to the arrange phase and removing the per-parent native z-order tracking logic, aiming to roll back regressions in coordinate/z-order behavior.
Changes:
- Restore immediate
SetWindowPosduringArrangeNativeElement(no longer deferred to the render/present timing). - Adjust first-show behavior to show the native child window on the first arrange instead of gating on render consumption.
- Remove Win32 native-element z-index support (drop sibling tracking and
SetZIndeximplementation).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
agneszitte
approved these changes
May 5, 2026
Contributor
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23210/wasm-skia-net9/index.html |
ajpinedam
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reason
#23126 (with or without #23196) leads to a regression where content from one WebView2 and bleed/leak into another WebView2 (https://github.com/unoplatform/kahua-private/issues/471).
#23196 is a follow up of #23126 that can't existing alone.