[ALL] Right and left Alt Keys are different

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
LonerD
Senior Member
Senior Member
Posts: 303
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

[ALL] Right and left Alt Keys are different

Post by *LonerD » 2011-11-07, 12:12 UTC

During remaping hotkeys in TC Configuration I can set only one ALT key.
:(
But in some keyboard layouts (Ukrainian, Polish) right ALT key do not work in TC.
For example, the left ALT+F7 - search and the right ALT+F7 - no reaction.
I do not know - it's a bug or peculiarity.
But I would like to be able to use the left and right keys (so that they perform the same function, or at least that they can be customized in TC configuration).

User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 2790
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA » 2011-11-07, 14:09 UTC

You sure you have an ALT-Key on the right and not
an AltGr key on the right side :?:

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2011-11-07, 14:32 UTC

On most European keyboards, right Alt works as Ctrl+Alt.
Author of Total Commander
http://www.ghisler.com

User avatar
LonerD
Senior Member
Senior Member
Posts: 303
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Post by *LonerD » 2011-11-07, 14:46 UTC

Sir_SiLvA wrote:You sure you have an ALT-Key on the right and not
an AltGr key on the right side :?:
On my Logitech keyboard it label "AltGr", on my Aser noteboot it label "Alt".
In RU and EN layouts right Alt in Total work same as left Alt.
In UK and PL layouts right Alt (or AltGr) not work in Total hotkeys and no way for configure it in settings.

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom » 2011-11-07, 16:14 UTC

You could likely use one of the key remapping tools to change it back to a regular ALT key. Not sure how they might work with international keyboards, but is worth a shot at least. The one that worked the best for me in the past was KeyTweak. Or perhaps charprobe by Dextronet and sharpkeys3.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.

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

Post by *petermad » 2011-11-08, 00:38 UTC

In UK and PL layouts right Alt (or AltGr) not work in Total hotkeys and no way for configure it in settings.
Just configue Ctrl+Alt+your_key - that is the same as AltGr or right Alt

http://en.wikipedia.org/wiki/Keyboard_layout#Polish
http://en.wikipedia.org/wiki/Keyboard_layout#United_Kingdom
License #524 (1994)
Danish Total Commander Translator
TC 9.5b9 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom » 2011-11-08, 03:42 UTC

The other option, is to do shortcuts in another Tool, things like AHK, AutoIT, etc, can distinguish between the Left and Right modifier keys.

As well, at least with TC 7.5x, TwinKey can be used to assign shortcuts for TC and it can distinguish between Left/Right modifier keys as well.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.

Azarien
New Member
New Member
Posts: 1
Joined: 2011-11-08, 13:45 UTC

Post by *Azarien » 2011-11-08, 13:52 UTC

On some european keyboard layouts (including PL) the right [Alt] — or [AltGr], it does not matters what's physically painted on the key! — is supposed to work differently than left [Alt] key.

Generally, the (right)[AltGr] key works like (left)[Alt] + [Ctrl].

User avatar
LonerD
Senior Member
Senior Member
Posts: 303
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Post by *LonerD » 2011-11-09, 18:44 UTC

Thanks to all.
I set Alt+Ctrl fo all TC commands that contains Alt-key.
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
MVV
Power Member
Power Member
Posts: 8412
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [ALL] Right and left Alt Keys are different

Post by *MVV » 2019-11-14, 11:56 UTC

Maybe an option should be added for treating AltGr as just Alt? It is really a pain to get all right-handed shortcuts lost just because of MS stupidity... For many years both Alts worked in the same way but in last Windowses right Alt began to work as Alt+Ctrl... :(

User avatar
Usher
Power Member
Power Member
Posts: 644
Joined: 2011-03-11, 10:11 UTC

Re: [ALL] Right and left Alt Keys are different

Post by *Usher » 2019-11-14, 17:52 UTC

2MVV
It's neither new nor only "MS stupidity".
Read the Wikipedia article: https://en.wikipedia.org/wiki/AltGr_key
When reading sections "Meaning" and "Control + Alt as a substitute" note timestamps of references, please. The substitution is as old as PCs with no AltGr key, for example laptops with Windows 95.

As AltGr and its substitution are in common use for many years, not only in Windows, some programs really have options to disable this behavior, see for example: https://documentation.help/PuTTY/config-ctrlalt.html

However, some simple minded programmers still ignore international settings and provide incompatible software, even when working in large international corporations (for example Adobe, Intel, Nvidia, ATi/AMD).
Regards from Poland
Andrzej P. Wozniak

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

Re: [ALL] Right and left Alt Keys are different

Post by *petermad » 2019-11-15, 02:46 UTC

Maybe an option should be added for treating AltGr as just Alt?
On Scandinavian keyboards (and many others) the Alt+Gr Key is used for a lot of the accented characters and for example fo characyers like @£${[]}€\
License #524 (1994)
Danish Total Commander Translator
TC 9.5b9 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
MVV
Power Member
Power Member
Posts: 8412
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [ALL] Right and left Alt Keys are different

Post by *MVV » 2019-11-15, 06:18 UTC

I know that many keyboards really have AltGr key, but in Russia for decades both Alts were just Alts, so recent change is quite annoying. As I know, MS have transformed right Alt to AltGr just in order to add RUB character that may be typed via AltGr+8, but the same character may be easilly typed via Alt+Ctrl+8, so it is a stupid change for just a single character that may be typed even w/o this stupid change, just using two modifier keys instead of one.

As for TC, I hope that it is hard to add such an option to treat AltGr as Alt, and this option won't hurt anyway being disabled by default.

User avatar
Usher
Power Member
Power Member
Posts: 644
Joined: 2011-03-11, 10:11 UTC

Re: [ALL] Right and left Alt Keys are different

Post by *Usher » 2019-11-15, 12:28 UTC

MVV wrote:
2019-11-15, 06:18 UTC
As I know, MS have transformed right Alt to AltGr just in order to add RUB character that may be typed via AltGr+8, but the same character may be easilly typed via Alt+Ctrl+8
1. You can use older keyboard layout, with no ‎₽ character at all.
2. You can modify older (add missing character) or existing (remap key) keyboard layout. Browse Google search results:
https://www.google.com/search?q=MS+keyboard+layout+creator
3. You can download and install alternate (third party) keyboard layout. I suspect that someone has already created and published needed layout, if the problem is really annoying. For example I use Polish „Mocny Akcent” layout as it has more typographic characters available (– — ® ™ © ± ¶ § „ ” … ‰) with AltGr.
Regards from Poland
Andrzej P. Wozniak

User avatar
MVV
Power Member
Power Member
Posts: 8412
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [ALL] Right and left Alt Keys are different

Post by *MVV » 2019-11-15, 13:53 UTC

I can patch registry and I do it when I have admin rights.
I can't use older layout when OS have already installed unhappy update, it is just gone.
When you create a keyboard layout, you get MSI file w/o a digital signature, so it is unsafe to use such files...

And, it is not a good option to do such things for TC running from USB stick on another PC... So this thing makes TC less portable.

Post Reply