-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Manually hide our DesktopWindowXamlSource #15165
Conversation
As discussed in #6507 Newer builds of Windows do this automatically. However, this was spotted in the wild on 1.18. It's possible the threading changes created a situation where the OS-side fix no longer applied to us. So let's just do it manually. It doesn't have any side effects. I saw this once on Win11, but couldn't repro it this morning when I tried to add this fix. I'm just gonna assume this worked, despite the fact that I can't repro it on win11 anymore. closes #6507 See also #14957
FYI, I get this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this needs fixing for & testing on Windows 10. 😟
Wait, do we need xaml on the emp thread? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@j4james would you be able to test this on W10 using Mike's unpackaged CI build artifacts? (We can probably also test it ourselves, I admit)
Actually tested this on Windows 10 in a VM too. For future self: Add-AppxPackage -Path path\to\Appx\AppxManifest.xml -register will register the dev appx for testing. You need to enable dev mode first. You need to actually do that too, so that it'll hook up the MUX 2.8 FWP dependency. (you could do the whole unpackaged thing too, but I haven't gotten far enough to bother with that yet) |
I've just tested with these changes patched into my dev build, and it's definitely fixed the issue for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
K, let's go then!
As discussed in #6507
Newer builds of Windows do this automatically. However, this was spotted in the wild on 1.18. It's possible the threading changes created a situation where the OS-side fix no longer applied to us. So let's just do it manually. It doesn't have any side effects.
I saw this once on Win11, but couldn't repro it this morning when I tried to add this fix. I'm just gonna assume this worked, despite the fact that I can't repro it on win11 anymore.
closes #6507
See also #14957
detailed description
Also see:
onecoreuap\windows\dxaml\xcp\dxaml\lib\WindowsXamlManager_Partial.*