mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #1052] Client desktop operation steals the focus of the RDP #3746
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#3746
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 (Jan 5, 2026).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/1052
Originally assigned to: @VShawn on GitHub.
Describe the bug
The following steps reproduce the issue.
To Reproduce
Expected behavior
The RDP window must be in focus again.
Desktop (please complete the following information):
Additional context
Once you have clicked on the RDP window, the above steps will always produce the expected behavior.
@VShawn commented on GitHub (Jan 5, 2026):
I can't reproduce the bug, is it because I did it incorrectly?
https://github.com/user-attachments/assets/658bcc9e-d81e-4e10-a81b-3ea18dd7a294
BTW I made test on:
@itagagaki commented on GitHub (Jan 5, 2026):
Hmm, I wonder if this is due to differences in the environment.
Now, let's see what's happening in my environment.
https://github.com/user-attachments/assets/9d13d775-5382-4a8d-9b7c-84fec812309c
Another point in this test is the notification area in the lower-left corner of the client's desktop.
These are the keyboard layout and IME icons.
It disappears in Step 1, returns to normal in Step 3, and remains unchanged in Step 4.
However, after Step 7, as seen in the behavior of Step 10, clicking the RDP host tab will cause them to disappear. This is the expected behavior, just as in Step 1.
@michalpavlikpb commented on GitHub (Jan 5, 2026):
Hi, i have simillar problems.
I would like to test new alpha but i cant find link to download (Win) 1.3. Can you provide som link to test please ? Thank you
@itagagaki commented on GitHub (Jan 6, 2026):
How to get a build under development:
@itagagaki commented on GitHub (Jan 7, 2026):
I think the focus of the window should be changed here in the case of this issue.
github.com/1Remote/1Remote@4c31f4efa1/Ui/View/Host/TabWindowView.xaml_timer.cs (L75-L111)However, I think the problem is that this process is being skipped because the
ProtocolHostTypefor RDP is not set to 'Integrate'.Furthermore, since
AxMsRdpClient09Host.GetHostHWnd()does not return a window handle, it is impossible to focus, activate, bring to the front, or enable it.github.com/1Remote/1Remote@4c31f4efa1/Ui/View/Host/ProtocolHosts/AxMsRdpClient09Host.xaml.cs (L782-L790)