Register to post in forums, or Log in to your existing account
 

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.     Home » Forums » TeSSH Discussion
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1241

PostPosted: Thu Jul 24, 2008 7:33 pm   

[2.33] In Open new log dialog, focus problem
 
Affects Character mode (probably even in CMUD, but most people don't use it there).

1. Make sure you are in character mode.
2. Click in the window to make sure it has focus and not the command line.
3. Click File, New log...
4. Create a new folder somehow (either right-click or using the icon).
5. Name the folder. (Optional)
6. Press Enter.
7. The window gets the Enter command and the dialog does not.
8. You need to click in the dialog to accept the name of the folder.

The same is true for naming the log file. You need to click OK because pressing Enter just sends it to the window.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23377
Location: Colorado, USA

PostPosted: Thu Jul 24, 2008 7:46 pm   
 
Yep, TeSSH is trapping certain keys when in Character Mode to send them to the server, and it looks like this is happening even for modal dialogs for some reason. Added to bug list. This will probably effect both the ENTER and ESC keys for all dialogs (since those are the two keys that TeSSH traps in character mode).
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1241

PostPosted: Thu Jul 24, 2008 7:53 pm   
 
Yes, ESC was also affected - I forgot to mention that.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23377
Location: Colorado, USA

PostPosted: Mon Jul 28, 2008 6:57 pm   
 
I found the problem with this. In my keyboard override routine, I was checking the Delphi Screen.ActiveForm variable to make sure the MUD window was the currently focused window. But apparently when you open a *Windows* dialog (like any File/Open dialog), this doesn't set the Delphi ActiveForm control properly. I changed my routine to use the Windows API GetFocusedWindow routine and now it's working properly.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23377
Location: Colorado, USA

PostPosted: Mon Jul 28, 2008 9:32 pm   
 
Fixed in v2.34
Reply with quote
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Home » Forums » TeSSH Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2009 Zugg Software. Hosted on Wolfpaw.net