 |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: 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. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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).
|
|
|
 |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Thu Jul 24, 2008 7:53 pm |
Yes, ESC was also affected - I forgot to mention that.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 28, 2008 9:32 pm |
Fixed in v2.34
|
|
|
 |
|
|