question

AndrewNasonov-0450 avatar image
0 Votes"
AndrewNasonov-0450 asked AndrewNasonov-0450 commented

WPF behavior when Windows OS is locked

What happens to WPF window when Windows OS is locked? How WPF behaves? What happens to rendering is it suspended or something else?
How does the OS understand what needs to be resumed when we unlock windows user session?

windows-wpfdotnet-wpf-xaml
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AndrewNasonov-0450
Locking screen is used to prevent unwanted users from accessing the device's data. I created a test WPF project, its threads were running and the page rendered without any problems when the screen is locked. Did you meet any error with locking screen?

0 Votes 0 ·

Hello
Yes, I meet a problem with locking screen and using WPF windows.
The source of the problem is using bitmap cache, described here: https://docs.microsoft.com/en-us/answers/questions/292299/wpf-rendering-issue-on-any-machine.html
I just try to find a solution how to replace BitmapCache and avoid that issue in my case.

I created an issue on GitHub: https://github.com/dotnet/wpf/issues/4276
But how to resolve it I don't know exactly, and want to ask a question who knows how WPF rendering works and why using a cached elements invokes the problems.

0 Votes 0 ·

0 Answers