vscode-ibmi icon indicating copy to clipboard operation
vscode-ibmi copied to clipboard

tn5250 tab does not have focus

Open alanseiden opened this issue 2 months ago • 2 comments

If I select the tn5250 terminal immediately after first connecting to an IBM i, the focus is not on the tn5250 tab. I need to click into the terminal to begin typing.

This slows my flow when I am using the keyboard.


Context Version
Code for IBM i version 2.17.2
Visual Studio Code version 1.105.1
Operating System darwin_arm64
Active extensions
COBOL (cobol): 25.10.25
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.15.1
ESLint (vscode-eslint): 3.0.16
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.26.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
IBM i Debug (ibmidebug): 3.0.0
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.3
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Roo Code (roo-cline): 3.29.1
Source Orbit (vscode-sourceorbit): 1.4.1
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0

Remote system
Setting Value
IBM i OS V7R5M0
Tech Refresh 6
CCSID Origin 37
Runtime CCSID 37
Default CCSID 37
SSHD CCSID ?
cqsh true
SQL Enabled
Source dates Disabled

Enabled features

/QOpenSys/pkgs/bin /usr/bin /QSYS.LIB /QIBM/ProdData/IBMiDebugService/bin /QOpenSys/QIBM/ProdData/JavaVM/jdk80 /QOpenSys/QIBM/ProdData/JavaVM/jdk11 /QOpensys/pkgs/lib/jvm
bash attr QZDFMDB2.PGM startDebugService.sh 64bit 64bit openjdk-11
chsh iconv
find setccsid
git uname
grep
ls
md5sum
pfgrep
sort
stat
tar
tn5250
Shell env
BUILDLIB=QGPL
CURLIB=QGPL
HOME=/home/alan
LIBLS=QTEMP QGPL ALAN
LOGIN=alan
LOGNAME=alan
MAIL=/var/spool/mail/alan
OLDPWD=/home/ALAN
PASE_USRGRP_LIMITED=N
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PWD=/home/alan
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
USER=alan
USERNAME=alan
WORKDIR=/home/alan
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "#@$"
}

alanseiden avatar Oct 27 '25 18:10 alanseiden

Hi @alanseiden , which step(s) do you take to open that terminal? (a small gif or mp4 recording of the whole operation is fine too 😊)

sebjulliand avatar Oct 28 '25 15:10 sebjulliand

Can reproduce it by using the terminal selection from the popover in the status bar or Cmd+Shift+J:

https://github.com/user-attachments/assets/d0d65b77-06d1-4361-b069-1f9d67658a33

Though after putting focus the terminal tab for the first time, subsequent new attempts in the same window seem to grab focus

NattyNarwhal avatar Oct 28 '25 16:10 NattyNarwhal