YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
22 stars 8 forks source link

Code Editor 2: Alt Gr key does not work correctly on an AZERTY keyboard #5899

Open allaze-eroler opened 4 months ago

allaze-eroler commented 4 months ago

Description

the key touch "alt gr" is not working with the new code editor, especially with azerty keyboard.

Steps To Reproduce

create note, try to create the title name with # title name

Which version of GameMaker are you reporting this issue for?

IDE v2024.400.0.556 Runtime v2024.400.0.571

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

1ab15994-b046-42d1-a249-eefd2244b56c

gnysek commented 4 months ago

Might be connected with https://github.com/YoYoGames/GameMaker-Bugs/issues/5916 where Right Alt (also named Alt Gr) is not working on multiline text inputs (with only exception of legacy code editor).

allaze-eroler commented 3 months ago

interesting! hopefully, it will be fixed!

zreedy commented 2 months ago

The fix to this issue is currently blocked by SDL2 not reporting the appropriate modifiers from the system platform layer. Documentation indicates that on Windows we expect a LCTRL | RALT modifier, but SDL2 only reports LCTRL.

zreedy commented 2 months ago

The appropriate fix has been written now, pending SDL2's behavior shaking out properly.

stuckie commented 1 month ago

Fix should be available in recent beta releases

caitlinrmcintyre commented 3 weeks ago

Verified fix for Polish AZERTY but when using French (Belgium) AZERTY keyboard, Alt Gr+3 does not print # as it does in notepad, reopening.

gnysek commented 3 weeks ago

btw. Polish uses QWERTY.

YYDan commented 3 weeks ago

Yeah - apparently the need to specifically check "Polish using AZERTY" came from something that was not documented properly here/confusion over something said on Discord and then never recorded here. As you say, Polish does not typically use AZERTY, so this request IS a bit odd and the reason for it should have been recorded here.

(Note that the original report does not include which language was being used at the time, so we're checking both the French and Belgian variants of AZERTY.)

zreedy commented 3 weeks ago

It does seem that different AZERTY keyboards have different AltGr keys by the way, so French (Belgium)'s AltGr+3 is expected to print #, where as this will do nothing with Polish AZERTY. There is likely additional keyboard layouts which need testing.

gnysek commented 4 days ago

Btw., from what I remember, some versions of Windows were allowing to switch to QWERTY to AZERTY with Ctrl+Shift (yeah, only that, without further keystroke), and was happening to change keyboard layout by mistake, and it was often problem in past (as no one uses AZERTY in Poland).