mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #559] On Win11 App stuck once RDP client pop any messagebox #3369
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#3369
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VShawn on GitHub (Nov 9, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/559
Originally assigned to: @VShawn on GitHub.
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(https://github.com/1Remote/1Remote/issues/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
Crasheson WPF
same WPF program works and pop the message box on Win10
Unfortunately, I couldn't locate the cause of the crash, so I'm unable to fix it.
@VShawn commented on GitHub (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).
@VShawn commented on GitHub (Jan 17, 2025):
My recent tests shows that the current workaround approach is unable to solve the issue.
I have recreated an RDP window based on WinForm, and it runs smoothly in the WinForm project.
However, when I moved it to the WPF project, the RDP info popup once again caused the program to crash.
Upon investigation, it was found that the crash still occurs in KERNELBASE.dll.
Next I'll try to upgrade the .net version and expect this issue to be fixed on newer versions.