Child Windows Freeze after an windows lock and unlocks
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
* .NET Core Version: 5.0.100 (e.g. 3.0 Preview1, or daily build number, use `dotnet --info`)
* Windows version: 21H1 (`winver`)
* Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
**Problem description:**
Child windows will be freezed after windows lock and unlock. Closing and restarting the window will behave correctly.
**Actual behavior:**
The windows freeze, with resizing like this

**Expected behavior:**
The windows will behave correctly
**Minimal repro:**
Our repo https://github.com/Flow-Launcher/Flow.Launcher, and we can reproduce with our setting window. Open the setting window, lock windows, unlock, and the windows will not be able to do anything except some basic windows' behavior like dragging, close, resizing (in a weird way)
Similar bug reported here https://forums.ni.com/t5/Measurement-Studio-for-NET/Window-with-WPF-Graph-freezes-when-windows-account-locked/td-p/2419516/page/2?profile.language=zh-CN
Contributor guide
Assessment
This issue has not been assessed yet.