mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #224] SSH lost focus with alt+tab #195
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#195
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 @Kerwin1202 on GitHub (Mar 24, 2022).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/224
Originally assigned to: @VShawn on GitHub.
当我
ssh服务器的时候,采用alt+tab切换到其他窗口,我需要切换两次。并且从其他窗口切换回来的时候,光标并不在输入输入框中,必须鼠标点下窗口才可以输入
When I SSH server, use the Alt + TAB to switch to the other Windows, I need to switch twice.And returned from the other window switch, the cursor is not in the input in the input box, must be the window under the mouse point can be input
@VShawn commented on GitHub (Mar 25, 2022):
感谢反馈,我回去检测一下。
@VShawn commented on GitHub (Mar 26, 2022):
bug confirm and it is easy to fix.
@Kerwin1202 commented on GitHub (May 14, 2022):
不知道这个是否会考虑再次优化下,还是自编译最新版,有上面这个 Commit 如图,
但是还是有个问题,在 PremoteM 中 ssh 的时候,alt + tab 需要两次 才可以切换到别的应用。
但是从别的应用按一次切换回来倒是没问题,这次可以正常直接输入了
@VShawn commented on GitHub (May 16, 2022):
目前没有办法,这是APP原理上决定的,SSH 的实是 PRemtoeM host 了 putty 的进程,PRemtoeM 通过 SetForegroundWindow 使 putty 保持 activate,所以第一下 alt + tab 比然是使 activate window 从 putty 回到 PRemtoeM.
强行要改的话可能可以通过 windows api 给 alt + tab 加钩子,检测到是 PRemtoeM 时就切到下一个程序,不过这样做我个人觉得太 hardcore 了,加钩子也容易被当成病毒杀掉。