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

On Win11 App stuck once RDP client pop any messagebox #559

Open
VShawn opened this issue Nov 9, 2023 · 1 comment
Open

On Win11 App stuck once RDP client pop any messagebox #559

VShawn opened this issue Nov 9, 2023 · 1 comment
Assignees
Labels
area-ct-rdp Connection type: RDP bug Something isn't working meta-help-wanted Help from anybody is most welcome meta-unknown-error Bugs that we don't know how to fix
Milestone

Comments

@VShawn
Copy link
Member

VShawn commented Nov 9, 2023

Describe the bug

After extensive testing and cross-comparison, I ultimately discovered that on the Win11 system, whenever an RDP client displays any message box, it triggers an internal error, ultimately causing the program to freeze.

These message boxes include, but are not limited to, the connection information displayed by the info button(#437) and CredSSP error messages.

last night I have created a minimal test program and launched the remote desktop to the same server with the same settings on both WinForms and WPF on Win11 22H2. The WinForms program successfully displays the CredSSP
error dialog, while the WPF program encounters an internal error and crashes.

here is the CredSSP error messages:

Works Winform

image

Crasheson WPF

image

same WPF program works and pop the message box on Win10

image

Unfortunately, I couldn't locate the cause of the crash, so I'm unable to fix it.

@VShawn VShawn added bug Something isn't working meta-unknown-error Bugs that we don't know how to fix labels Nov 9, 2023
@VShawn VShawn added this to the NEXT milestone Nov 9, 2023
@VShawn VShawn self-assigned this Nov 9, 2023
@VShawn
Copy link
Member Author

VShawn commented Nov 9, 2023

I guess Win11 has rewritten the implementation of RDP client message boxes (one evidence is different appearance of RDP message boxes in Win11 compared to Win10) and make message box incompatibe with WPF. If that's the case, we might have to wait for Microsoft to address the issue with WPF (which might be long considering their focus on WinUI now).

@majkinetor majkinetor added area-ct-rdp Connection type: RDP meta-help-wanted Help from anybody is most welcome labels Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ct-rdp Connection type: RDP bug Something isn't working meta-help-wanted Help from anybody is most welcome meta-unknown-error Bugs that we don't know how to fix
Projects
None yet
Development

No branches or pull requests

2 participants