winsplit-revolution icon indicating copy to clipboard operation
winsplit-revolution copied to clipboard

Alt Gr + E is treated as Ctrl + Alt + E

Open ChrisVanBael opened this issue 5 years ago • 2 comments

Hi, this one has been bugging me for quite some time and at first I thought it was a Windows 10 problem because I didn't have it before. My laptop has an AZERTY keyboard and the right Alt key is in fact Alt Gr. The standard E key has the Euro sign (€) which is activated by Alt Gr + E. In WinSplit Revolution Ctrl + Alt +e is standard set to Maximize Window. It seems Winsplit Revolution interprets the the Alt Gr + E as Ctrl + Alt+E and maximizes my window instead letting me enter €. I have changed the hotkey for Maximize to Ctrl + Alt +s and now I can type € again.

Apparently it is a Windows thing to treat Alt Gr as Ctrl + Alt (https://superuser.com/questions/592970/can-i-make-ctrlalt-not-act-like-altgr-on-windows), but I'm quite sure I didn't have this problem before. That's why I thought it was a Windows issue. Maybe I didn't have Ctrl + Alt +E assigned before? Or it's the combination of English user interface + Azerty keyboard layout... Anyway, I you think you can't fix it, you can close this issue if you want.

For completeness:

  • Windows 10 Pro (Version 10.0.18363 Build 18363)
  • Windows Display Language: English (Belgium)
  • Windows Keyboard setting: Belgian (Comma) AZERTY

ChrisVanBael avatar Jan 24 '21 15:01 ChrisVanBael

As far as I know, Windows doesn't differentiate between altgr and ctrl+alt. I think the only alternative would be to implement a custom keyboard hook and come up with a way to differentiate between altgr and ctrl+alt using some hack. I had a brief look at how AutoHotkey handles altgr and it is does not appear to be trivial.

I'm going to be honest and say this isn't something I want to spend my time doing. I'll leave this open in case someone else wants to take a stab at it.

dozius avatar Feb 15 '21 16:02 dozius

Default Windows behaviour treats AltGr and Ctrl+Alt as the same thing (except for important key combinations like Ctrl+Alt+Delete)

Darthagnon avatar Aug 19 '22 13:08 Darthagnon