All wpf apps is crashed when user starts capturing its screen with using "Use our advanced technology to capture your screen" option of Discord.
It is regardless of .NET framework, .NET Core 3.x or .NET.
I think that it is relative to WPF DirectX 9 hardware acceleration. Because when I turned off HW acceleration, it doesn't crash anymore.
Reproduction Steps
Create any wpf project.
Build and start.
Execute Discord and start screen sharing of wpf app.
Expected behavior
Not crashed
Actual behavior
Crashed
Regression?
No, Visual Studio 2022 that is based on .NET framework is crashed when Discord hooks it to capture screen
Description
All wpf apps is crashed when user starts capturing its screen with using "Use our advanced technology to capture your screen" option of Discord. It is regardless of .NET framework, .NET Core 3.x or .NET. I think that it is relative to WPF DirectX 9 hardware acceleration. Because when I turned off HW acceleration, it doesn't crash anymore.
Reproduction Steps
Expected behavior
Not crashed
Actual behavior
Crashed
Regression?
No, Visual Studio 2022 that is based on .NET framework is crashed when Discord hooks it to capture screen
Known Workarounds
No
Impact
I don't know
Configuration
S/W Spec .NET Core 3.1, .NET 7 Windows 11 22H2 x64
H/W Spec Intel Core i9-13900H 32GB LPDDR5 Intel Iris Xe 96EUs + NVIDIA GeForce RTX 4070 Laptop (Switchable Graphics) + NVIDIA GeForce RTX 4070 Ti (Thunderbolt 3 eGPU) 2880 X 1800 X 120Hz (Internal display), 3840 X 2160 X 240Hz (External display, eGPU)
Other information
No response