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

FocusActiveSession is usually wrong when switching tabs with shortcuts #927

Open
Tomas-M opened this issue Jan 19, 2024 · 3 comments
Open

Comments

@Tomas-M
Copy link

Tomas-M commented Jan 19, 2024

I am using latest superputty release.
I have consifured shortcuts that Ctrl+PgUp goes to previous tab, Ctrl+PgDn goes to next tab.
Many times when I have multiple sessions open (using latest putty stable exe), I can properly switch between tabs with these shortcuts, but focus stays on one session and the newly activated tab does not get focus. This is terrible because I start typing and the text is typed to the inactive (no longer visible) tab.

I noticed that if I configure another shortcut, FocusActiveSession, for example to Ctrl+Space, then I can press this shortcut after switching to prevtab/nexttab and the focus is fixed, since that the focus is always correct after subsequent tab changes with ctrl+pgup and ctrl+pgdn.

Using Windows 10 Home version 22H2

@luisbunuel
Copy link

I have been suffering this issue since the very beginning, as a temporary workaround you can use the "Switch Session" shortcut which is less handy but doesn't have the focus issue. Anyway, I think this issue should be a priority.

@rex-banner
Copy link

rex-banner commented Feb 7, 2024

I noticed that if I configure another shortcut, FocusActiveSession, for example to Ctrl+Space, then I can press this shortcut after switching to prevtab/nexttab and the focus is fixed, since that the focus is always correct after subsequent tab changes with ctrl+pgup and ctrl+pgdn.

Thanks @Tomas-M for this nice workaround :)
Focus bug already raised in 2022 in #880 but no answer since then :(
Using keyboard shortcut CtrlTab CtrlShiftTab MUST come with focus
@jimradford Could you give your opinion on this issue ?

@sdturne
Copy link

sdturne commented Mar 7, 2024

I just started using SuperPutty and this is one of the very first things I noticed. I honestly can't think of any reason why the focus shouldn't be associated with the current active tab. Very surprising behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants