Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mahapps UI is locked in Dialog Window after re-login #2734
Mahapps UI in Dialog Window is locked when user re-signs in.
Steps to Reproduce
In order to reproduce please use the below sample app:
Per the attached example. User is not able to enter any text to the textbox. Generally UI is locked. User is able to switch to the second tab, but is not able to return to first tab.
The textbox and whole UI should not be locked to allow user to use it.
We see the same issue, if the window is visible when locking the workstation and logging back in, the UI is unresponsive. If I close the window and re-open it, the entire UI is actually transparent, except for the border.
I can fix the issue by minimizing all windows on my workstation (Win+D). At that point, if I open the window again the UI seems back to normal (until the next time I lock the machine).
#2742 is a duplicate of this and an issue I'm seeing too
To add some more information:
referenced this issue
Nov 15, 2016
I've found a workaround for this:
It appears to be some kind of driver issue in windows that's causing hardware rendering to fail when the shell environment is restored. Forcing software rendering for that window solves the issue for me.
Edit: Confirmed that this fix works for the reproduction in the original post.
added a commit
Nov 19, 2016
I'm upgrade the nuget package to 1.4.0-ALPHA035 and I still have the same bug when re-login.
Edit: Confirm @gkinsman's solution works, with some modifications to work with my project