TCMD tabs and input focus

May 20, 2008
11,400
99
Syracuse, NY, USA
If I start TCMD normally (default TCC12 in one tab), then Tabs\Run and enter "d:\tc12\tcc.exe" (start a new tab) ... OK, a new tab opens, it appears active, it's actual tab is in front (with the "X"), but there's no blinking cursor. If I type, I see nothing, and what I type (likewise any output if I type a command + [Enter]) actually goes to the other tab (the one TCMD started with).

A click anywhere on the new tab gets things working right.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
If I start TCMD normally (default TCC12 in one tab), then Tabs\Run and enter "d:\tc12\tcc.exe" (start a new tab) ... OK, a new tab opens, it appears active, it's actual tab is in front (with the "X"), but there's no blinking cursor. If I type, I see nothing, and what I type (likewise any output if I type a command + [Enter]) actually goes to the other tab (the one TCMD started with).

A click anywhere on the new tab gets things working right.

Not reproducible here.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
On Mon, 16 May 2011 14:27:43 -0400, Charles Dye <> wrote:

|---Quote (Originally by rconn)---
|What happens if you double-click on an empty part of the tabbed windows bar?
|---End Quote---
|In my case, keyboard input still goes to the previous (hidden) tab.

Do you mean open a new tab by 2-clicking on the bar? ... in my case, that works
as desired, with with the command line cursor visible in, and kb input going to,
the new tab.

The problem I reported deals only with Tabs\Run, and though I didn't try it
yesterday, it happens regardless of what's started in the new tab (tried CMD and
PowerShell as well as TCC).
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,460
88
Albuquerque, NM
prospero.unm.edu
On Mon, 16 May 2011 14:27:43 -0400, Charles Dye <> wrote:

|---Quote (Originally by rconn)---
|What happens if you double-click on an empty part of the tabbed windows bar?
|---End Quote---
|In my case, keyboard input still goes to the previous (hidden) tab.

Do you mean open a new tab by 2-clicking on the bar? ... in my case, that works as desired, with with the command line cursor visible in, and kb input going to, the new tab.

Ah. I misunderstood the question. I'm seeing the same as Vincent.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
On Mon, 16 May 2011 16:00:10 -0400, rconn <> wrote:

|---Quote (Originally by vefatica)---
|Do you mean open a new tab by 2-clicking on the bar? ... in my case, that works as desired, with with the command line cursor visible in, and kb input going to, the new tab.
|---End Quote---
|
|How about if you click on "Tabs / New Tab"?

No problem. There's a problem only with Tabs\Run.
 
May 20, 2008
603
0
Sammamish, WA
I reported something like this in http://jpsoft.com/forums/showthread.php?p=9937#poststop which I can now reproduce still:

TCC 12.10.65 x64 Windows 7 [Version 6.1.7600]
TCC Build 65 Windows 7 Build 7600

Start TCMD which opens a single tab.
Run a batch file that contains solely "delay 10"
Using only the keyboard and not the mouse,
1) Press ^C while the batch file is running.
2) Do not answer the "Cancel" question yet.
3) Touch Alt and then release. Touch t and then release. Touch t and then release.

The new tab comes to the front but the back window still has the focus. Typing puts characters in the back (first) tab.

Alt-tabbing away and back does not solve the problem. Clicking does. Using the keyboard to switch tabs (Alt-Left & Right on mine) solves it.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
I reported something like this in http://jpsoft.com/forums/showthread.php?p=9937#poststop which I can now reproduce still:

External similarities notwithstanding, this has nothing to do with the focus issue Vince is seeing. Your problem is due to the way Windows handles exceptions in consoles, and it's unlikely there will be a workaround.

I was eventually able to reproduce Vince's problem on an old XP machine; it turns out to be an XP focus timing bug when returning from a dialog. I've added an ugly timer kludge for the next build to work around it. (Though a better solution would be for Vince to update to a version of Windows created sometime after the discovery of fire).
 
Similar threads
Thread starter Title Forum Replies Date
CWBillow Back up TCMD tabs Support 2
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
rps TCMD Tabs priority option setting Support 0
M Quick tip: Close tabs in TCMD Support 0
CWBillow PowerShell Tabs in TCMD Support 11
CWBillow TCMD 10 and Startup Tabs Support 10
D Bug TCMD /X option Support 6
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
vefatica TCMD output invisible on Win10 Support 22
J Moving from TCC v22 to TCMD v24 issues Support 3
RChrismon How to? Copy TCMD.INI to New Version Support 7
rps TCMD OPTIONS dialog Support 2
D Can we fix the scaling for TCmd? Support 14
CWBillow TCMD Tab Defs Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
A TCMD - Dir Command puts out blank lines? Support 16
P Symantec Endpoint Protection trapped TCMD.EXE and said it contained WS.Reputation.1 (Virus?) Support 3
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
D Tcmd 22.00.42 - annoying desktop refresh Support 47
CWBillow Context menu extensions for TCC/TCMD v18? Support 1
vefatica Pasting into TCMD via right-click menu? Support 2

Similar threads