Skip to content
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

WPF window stops rendering when using a BitmapCache inside while another window is invisible #2158

walterlv opened this issue Nov 5, 2019 · 0 comments


Copy link

@walterlv walterlv commented Nov 5, 2019

  • .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:

  1. Lock and unlock the screen
  2. 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:

  1. Make a window shown with a BitmapCache inside
  2. Show and hide another window
  3. Lock and unlock the screen
  4. Resize the first window to view the behavior

See this minimal reproduction repository below:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.