mRemoteNG / mRemoteNG/mRemoteNG

Focus issue in PuTTYNG session after switching tabs

Open
#290 18 comments 34 reactions 1 assignee View on GitHub

@Kvarkas is already working on this.

Since Jul 18, 2022.

1.77.3 Bug Need 2 check
Dominant language
C#
Stars
11.1k
Forks
1.6k
Avg merge
16h 58m
Merged PRs (30d)
55

Description

Normally, when a SSH session has focus and you click on something to take focus away (e.g. click on the taskbar or another application), if you then click back on the titlebar of the mRemoteNG window, focus is returned to the SSH session correctly.

However, if you switch tabs just prior to taking focus away from mRemoteNG, then focus doesn't return to the SSH session correctly when you activate mRemoteNG again.

Try this:
Have 2 SSH tabs open (using PuTTYNG) with focus currently in the first tab.
Click on the tab header for the 2nd tab and notice (by looking at the text cursor) that the 2nd SSH tab now appears to have focus.
Click an empty spot on the Windows taskbar to take application focus away from mRemoteNG.
Click on the titlebar of mRemoteNG.
Notice that the focus does not return to the SSH session.

I'm running mRemoteNG Beta 3 on Windows 10.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.