[8.0b4 x64] ALT + X closes TC

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

xam
Junior Member
Junior Member
Posts: 3
Joined: 2011-10-08, 06:10 UTC

[8.0b4 x64] ALT + X closes TC

Post by *xam »

on 64bit editions (b3 and b4) i have the problem that ALT+X closes (Exit) TC.
for me it's quite annoying as i use fast-search (schnellsuche) with ALT key only.

32bit version does not have this behavior.

OS: win 7 x64
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Cannot confirm, here Alt+X opens quick search. Tested in XP x64, Win7 x64.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

The OP has just no clue as this is not a Bug but default WC/TC Behaviour!

ALT+X with default Shortcuts in TC has allways closed TC
(its an undocumented ShortCut in TC)

If you dont like the behaviour change the Shortcut

Even in WC 1.10e you was able to Close with ALT+X...

And before Flint starts to yell that this is NOT true:
petermad wrote:2Sam_Zen
Maybe a rookie-question, but is Alt+X the same as clicking on the 'X' box at the right upper corner ?
Not under all circumstances:

1: Alt-X won't close TC if: Configuration -> Quick search -> Alt+Letters is enabled. That is why TC doesn't have any Alt+Letter hotkeys by default (exept for this undocumented Alt+X hotkey IIRC)
2: Alt-X won't close TC if there is an X-hotkey in the main menu - as there for example is in the Catalan, Galician, Valencia versions of the menu or in my own Extended Menus (see sig.).
Source: http://www.ghisler.ch/board/viewtopic.php?p=154652#154652

But perhaps with TC8 its time to add this Shortcut to Keyboard.Txt-File....

@Mods: please move to english section TIA
Hoecker sie sind raus!
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Sir_SiLvA
I won't start yelling, because I know about the Alt+X hotkey, but you did not notice that topic started uses exactly quick search Alt+Letters, so Alt+X should not close TC in his configuration.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
xam
Junior Member
Junior Member
Posts: 3
Joined: 2011-10-08, 06:10 UTC

Post by *xam »

@flint: that's it.. ;-)

in general: i use TC since over 10 years (almost the same wincmd.ini).
and i never had problems with ALT+X.

even more, if i use 8.0b4 x86 (same config), it works as i excpect it.
so, may it is not a bug - but the behavior has changed..
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

xam wrote:so, may it is not a bug - but the behavior has changed..
If it were changed then a) it would be changed equally in x32 and x64, and b) I would see that change too, because I always use Alt+letters for quick search.

Please, try starting TC with empty wincmd.ini, set Quick Search to Alt+letters and see whether Alt+X still closes your TC or not.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
xam
Junior Member
Junior Member
Posts: 3
Joined: 2011-10-08, 06:10 UTC

Post by *xam »

@flint; thanks for the hint (using empty wincmd.ini)

i could it now trace back to the following entry:
LanguageIni=wcmd_deu.lng (german)

using this language config on:
- 8.0b4 x64 then ALT+X = EXIT TC
- 8.0b4 x86 then ALT+X = quicksearch

[EDIT]
finally: this entry causes the problem:
1078="Alt+F4 E&xit"
removing & from Exit is a possible work-a-round.
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

xam
Ah, I see. The problem is that default German language file has & sign in the line 1078="Alt+F4 E&xit", that's why this "X" works as hotkey in your case. Probably, Christian forgot to remove it, because in other language files (including default English distributed separately) the ampersand is not present.

You can edit the file yourself and change this line into 1078="Alt+F4 Exit", then Alt+X will not close TC.

PS: While I was typing, you already found this yourself. :)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Well, as xam points out - there is a difference in behaviour between the 32bit and the 64bit version.

The 32 bit version behaves like TC has always done - If there is an &x in string 1087 for the chosen language then Alt+x closes TC - UNLESS Alt+Letters is chosen for Quick search.

The 64 bit version closes TC If there is an &x in string 1087 for the chosen language - ALSO if Alt+Letters is chosen for Quick search.

I think it would be nice with consistency here, and I think the 32-bit way should be applied to the 64bit version for backward compatibility.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

petermad wrote:I think it would be nice with consistency here, and I think the 32-bit way should be applied to the 64bit version for backward compatibility.
Less in order to backward compatible, but in order to allow using [alt]+[letter] for quick search in Total Commander 64-bit in general.

Karl
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

in order to allow using [alt]+[letter] for quick search in Total Commander 64-bit in general.
Well, it is only when there are hotkeys on the function buttons that there is a problem - otherwise using [alt]+[letter] for quick search works OK in 64bit TC - or are you experiencing otherwise?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

No, no additional problems.

Yet, having the ampersand in [Alt+F4 E&xit] seems to be the default for the German and English languages, because using either language, I can perfectly exit T.C. 8.0ß4 by pressing alt+x in both the 32-bit version and in the 64-bit version.
(No additional or extended language files installed, nor ever bothered to tweak the exisiting language files.)

Karl
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

karlchen wrote:Yet, having the ampersand in [Alt+F4 E&xit] seems to be the default for the German and English languages, because using either language, I can perfectly exit T.C. 8.0ß4 by pressing alt+x in both the 32-bit version and in the 64-bit version.
It's somewhere inside TC, because in Ctrl+Alt+letter QS mode I can close TC with Alt+X even with Russian interface which does not have the "X" letter at all in this label, not to mention any ampersands.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
TestingTC
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-28, 18:56 UTC

Post by *TestingTC »

i get that behavior even on version 7.55a and it's not a problem
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm the problem with 64-bit only. It seems that Lazarus still handles the key on the button although TC sets it to 0 when handling it for quick search. :(
Author of Total Commander
https://www.ghisler.com
Post Reply