- .NET Core Version: 3.0
- Windows version: Windows 7/8/8.1/10 (Any Windows 10 versions including 10.0.18362.329)
- Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
Problem description:
If a Window contains any UIElement with a BitmapCache and another window is hidden, the first Window will stop rendering in two different situations:
- Lock and unlock the screen
- Wait for a while (e.g. 10~30min)
Actual behavior:
See this animation below and you'll see that the window stops rendering after a locking and unlocking screen.

Expected behavior:
The window should keep rendering.
Minimal repro:
- Make a window shown with a BitmapCache inside
- Show and hide another window
- Lock and unlock the screen
- Resize the first window to view the behavior
See this minimal reproduction repository below:
Problem description:
If a
Windowcontains anyUIElementwith aBitmapCacheand another window is hidden, the firstWindowwill stop rendering in two different situations:Actual behavior:
See this animation below and you'll see that the window stops rendering after a locking and unlocking screen.
Expected behavior:
The window should keep rendering.
Minimal repro:
See this minimal reproduction repository below: