isaiminii / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

misfunction of Tab key #250

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.press Tab key
2.
3.

What is the expected output? What do you see instead?
auto fill uncompleted command line for bash in current putty session, but it 
just switched tab.  F8 is defined for PrevTab,F9 is defined for NextTab and F10 
is defined for switchsession. This issue happened randomly.

What version of the product are you using? On what operating system?
1.3.0.11 on win7

Please provide any additional information below.

Original issue reported on code.google.com by Apps...@gmail.com on 18 Oct 2012 at 7:49

GoogleCodeExporter commented 8 years ago
can you dig up the log the next time it happens?

%TEMP%\SuperPutty.<DATE>.log

Original comment by btatey...@gmail.com on 20 Oct 2012 at 11:48

GoogleCodeExporter commented 8 years ago
This happens to me sometimes at work, but that's because I have a cheap Fujitsu 
keyboard where the CTRL button gets stuck randomly. CTRL+TAB switches tabs.

Original comment by Tor333...@gmail.com on 29 Oct 2012 at 2:48

GoogleCodeExporter commented 8 years ago
I have the same thing happen daily.  Sometimes multiple times in the same day, 
as does a coworker.  I've attached the log from today's first foray into 
"broken tab mode".  If you need further log files I'll be glad to provide them. 
 I'm running Windows 7 SP1 w/ current updates and using 1.3.0.11.  I've had the 
same problem with previous versions.

Original comment by br...@metacloud.com on 30 Oct 2012 at 11:13

Attachments:

GoogleCodeExporter commented 8 years ago
There are shortcuts burnt into superputty for windows style switch tabs.  I 
suspect those shortcuts (control-tab, control-shift-tab) are causing issues.  

I'll take a look and see what I can find.  At worse, I'll make it an option we 
can disable for debugging.

Original comment by btatey...@gmail.com on 31 Oct 2012 at 10:36

GoogleCodeExporter commented 8 years ago
I am experiencing the same issue.

I use CTRL-T to open the "Open Session" window (excellent feature btw!) and 
after every new session is opened I have to press CTRL again or the it gets 
stuck in a depressed state.

If I, for example, try to type "git" it types "gi" and opens the "Open Session" 
window.

Restarting SuperPuTTY is the only way I can get it reset.

I use the default CTRL-TAB and CTRL-SHIFT-TAB to switch tabs.

SuperPuTTY is started with
 "C:\Program Files (x86)\SuperPutty-1.3.0.11\SuperPutty.exe" -cygterm -
to open it without the Sessions and Layouts panes and all sessions are started 
using "Open Session".

I hope the attached log file will be of use.

Original comment by dagh...@gmail.com on 12 Nov 2012 at 1:49

Attachments:

GoogleCodeExporter commented 8 years ago
I constantly run into this as well.  Please give us a way to simply disable 
this functionality outright.  I'm perfectly happy clicking between my terminal 
sessions and having ALT-TAB switch out of Superputty entirely.  This is really 
the biggest problem I have with an otherwise excellent tool.

Original comment by r...@roobix.net on 18 Nov 2012 at 8:18

GoogleCodeExporter commented 8 years ago
ok, will look into it.  Starting up 1.4 betas soon.  Will try to put in a fix 
or workaround to this issue.

Original comment by btatey...@gmail.com on 19 Nov 2012 at 3:57

GoogleCodeExporter commented 8 years ago
Confirmed the hot key handling code is causing a keyup after launching a 
shortcut to get lost.

Working on a solution...

Original comment by btatey...@gmail.com on 26 Nov 2012 at 1:18

GoogleCodeExporter commented 8 years ago
1.4.0.0 has a rework of the hot key handling which should fix this issue.  
please give it a try.

Original comment by btatey...@gmail.com on 26 Nov 2012 at 4:54

GoogleCodeExporter commented 8 years ago
Great, thank you.  I'll give it a try and report back.

Original comment by r...@roobix.net on 26 Nov 2012 at 5:38

GoogleCodeExporter commented 8 years ago
The problem is gone.

However, the SuperPuTTY shortcuts (ctrl-tab, ctrl-shift-tab and my custom 
ctrl-t to open a new session) now overrides all other applications, so trying 
to switch tab in Chrome sets focus to and switches tab in SuperPuTTY, in the 
background.

Original comment by dagh...@gmail.com on 26 Nov 2012 at 8:15

GoogleCodeExporter commented 8 years ago
Ha!  Looks like all the shortcuts override all other apps.  Not quite what I 
had in mind...will look into it.

Original comment by btatey...@gmail.com on 26 Nov 2012 at 12:33

GoogleCodeExporter commented 8 years ago
The original problem seems to be resolved for me too.  I went all day without 
having to restart due to the problem which never happened before.  Thanks for 
the fix!

Original comment by br...@metacloud.com on 27 Nov 2012 at 2:42

GoogleCodeExporter commented 8 years ago
I'm sorry to report that I spoke to soon.  I just had 1.4.0.0 go into "broken 
tab mode". 

Original comment by br...@metacloud.com on 27 Nov 2012 at 9:10

GoogleCodeExporter commented 8 years ago
ok, i have a different fix for the issue which shouldn't override hot keys 
globally.

1.4.0.1 

give it a shot and let me know.

Original comment by btatey...@gmail.com on 28 Nov 2012 at 12:00

GoogleCodeExporter commented 8 years ago
Sorry for the lack of response on this topic.  This still happens to me 
frequently with 1.4.0.1.  

Original comment by br...@metacloud.com on 28 Jan 2013 at 9:15

GoogleCodeExporter commented 8 years ago
It's been happening constantly for me as well.

Please, please provide a way to simply disable the hot key functionality 
entirely.  I don't even use that feature and this is a great tool aside from 
this issue.

Original comment by r...@roobix.net on 7 Feb 2013 at 7:54

GoogleCodeExporter commented 8 years ago
will do...

Original comment by btatey...@gmail.com on 8 Feb 2013 at 1:45

GoogleCodeExporter commented 8 years ago
Great, thank you!  Do you guys have a donation link anywhere?  I would be more 
than happy to contribute some funds, as I use SuperPutty daily.

Original comment by r...@roobix.net on 8 Feb 2013 at 2:18

GoogleCodeExporter commented 8 years ago
As a workaround, as rafi suggested, I'm going to add an option to disable the 
control-tab/control-shift-tab handling.  I'm guessing what's happening is 
control is getting stuck for whatever reason.  

Brian-do you have a procedure to reproduce?  Is it random, happening after a 
using a few shortcuts (e.g. open session) or does it happen immediately and 
consistently?  I can't reproduce while testing.

Original comment by btatey...@gmail.com on 10 Feb 2013 at 12:09

GoogleCodeExporter commented 8 years ago
Unfortunately there is no procedure other than the initial reporter had.  
Randomly throughout the day I try tab completing and discover that hitting just 
the tab key causes me to cycle through all open windows.  I don't use any of 
the shortcuts to open sessions or intentionally switch windows.  Once this 
happens my only recourse is to close Superputty and restart it.  This happens 
to me on both my laptop and my desktop.    Like Rafi, just disabling those 
features will work for me since I don't use them anyway.  Thanks for looking 
into this.  This is a great tool.

Original comment by br...@metacloud.com on 10 Feb 2013 at 4:22

GoogleCodeExporter commented 8 years ago
This issue is quite frustrating, I can be in the middle of working on 
something, then for no reason at all (well none that I can see) The tab 
completion stops working and it cycles through my open connections. 

I also do not have any global shortcuts and nothing is bound to tab.

Original comment by dodds2...@gmail.com on 12 Feb 2013 at 12:24

GoogleCodeExporter commented 8 years ago
Adding options to disable the function...will be in build 1.4.0.2 beta

Original comment by btatey...@gmail.com on 19 Feb 2013 at 3:17

GoogleCodeExporter commented 8 years ago
I was still seeing this problem on 1.4.0.2; however, disabling the function did 
fix the problem. I will just leave the function off for now. Thank you!

Original comment by tommys...@gmail.com on 27 Feb 2013 at 10:14

GoogleCodeExporter commented 8 years ago
I've disabled the tab functionality is 1.4.0.2 and I have not had the problem 
occur since.  Thank you very much! It's a huge help not to have to close out 
Superputty several times a day.

Original comment by br...@metacloud.com on 1 Mar 2013 at 1:01

GoogleCodeExporter commented 8 years ago
FYI, I disabled the function and enabled it on the keyboard shortcuts and it 
fixed the issue. Now I can seamlessly use my ctrl+tabs without issues.

Original comment by tapan.kh...@gmail.com on 4 Sep 2013 at 7:40

GoogleCodeExporter commented 8 years ago
Thanks to the community for reporting and fixing this issue.  Downloaded 
superPutty for the first time the other week and its a great little app.  
Started to have the tab issue and glad I came here for the answer.  All good 
now.  Keep up the good work.

Original comment by keith.ki...@gmail.com on 24 Oct 2013 at 3:08