-
Notifications
You must be signed in to change notification settings - Fork 460
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
BUG: Flyouts not showing after WIN+L #364
Comments
I also experience this issue. And I found this issue goes away when disable hardware acceleration. |
Unfortunately I don't have the option to disable it, is there any other solution for this? some change for the code? |
Disable Hardware rendering, using the DisableHWAcceleration registry value discussed in Disable Hardware Acceleration Option. This will affect all WPF applications on your machine; do this only as a way to test if your problem is related to graphics hardware or drivers. If that's the case, you can work around the problem by programmatically disabling hardware acceleration at a more granular level. This can be done on a per-window basis by using the HwndTarget.RenderMode property, or on a per-process basis by using the RenderOptions.ProcessRenderMode property. |
Can confirm the following works to sidestep the issue:
Not sure why this bug only happens on secondary windows however ¯\_(ツ)_/¯ |
I have found possible reason for issues related to ModernWPF breaking after Lock/Unlock of workstation (in my case is ContextMenu breaking): |
I'm using ModernWpfUI in my WPF app and recently I've encountered some pretty weird bug:
if you open a secondary window context menus (and all other flyouts) stop appearing after WIN+L .
I reproduced the issue in the
ModernWpf.SampleApp
by viewing the ContentDialog page andclicking
Open a new window
:clicking
Show content dialog in this window
:and right clicking some of the text boxes:
after locking the computer (WIN+L) and reopening it the context menu stops from showing on right click:
The text was updated successfully, but these errors were encountered: