mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #1067] Re-examining solutions to RDP focus issues #839
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#839
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 @itagagaki on GitHub (Feb 7, 2026).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/1067
Originally assigned to: @VShawn on GitHub.
Issue #1052 was resolved by #1057.
However, it caused a new issue #1066.
Furthermore, #1057 did not fully resolve #1052.
A more detailed description of how to reproduce issue #1052 can be found below.
Step 8 was resolved by #1057, but step 7 was not.
Therefore, we should investigate the root cause more thoroughly and develop countermeasures.
@VShawn commented on GitHub (Feb 7, 2026):
As i mentioned in #1066, I have reinstated the
mouse left button downcondition in push4c68570. You said that this would lead to:The focus issue has been resolved by removing that condition. Therefore, if we reinstate it, the problem will recur.However, I dont know somehow, I did not encounter the issue in Step 8 in the nightly version built from
4c68570. You can check my screen recordhttps://github.com/user-attachments/assets/707affd7-e321-4664-b407-714265cb9705
@itagagaki commented on GitHub (Feb 8, 2026):
Once the host window has been properly activated and focused, no further issues should be observed. Please follow the steps I provided in the exact order.
@itagagaki commented on GitHub (Feb 8, 2026):
https://github.com/user-attachments/assets/c040a3e5-cfec-469b-bd1d-552081470efb
@VShawn commented on GitHub (Feb 8, 2026):
I reproduced the bug. It's quite a strange.
https://github.com/user-attachments/assets/4944acc5-ef8f-48da-8277-1960f88170e4
@itagagaki commented on GitHub (Feb 22, 2026):
The anomaly occurred in Step 6.
Step 7 confirms this.
Clicking the client area of the RDP window sends a
WM_SETCONTEXTmessage, which triggers a call toAxMsRdpClient9NotSafeForScriptingEx::WndProc().However, when the RDP window is opened from the host list in Step 5,
AxMsRdpClient9NotSafeForScriptingEx::WndProc()does not receive theWM_SETCONTEXTmessage. This may explain why the behaviour appears inconsistent.@itagagaki commented on GitHub (Feb 22, 2026):
Hmm...
Here, it always returns and never goes down...
github.com/1Remote/1Remote@a7f47a7429/Ui/View/Host/TabWindowView.xaml_timer.cs (L242-L245)TabWindowSetFocusToLocalDesktopOnMouseLeaveRdpWindowremains at its default value of false.There is no UI to change this setting.
This is one major issue.
However, that doesn't seem to be the only issue.
Removing this if-return statement changes the behavior, but not as expected.
In any case, the implementation of
RunForRdpV2seems to be the main issue.@VShawn Do you have any thoughts on this?