arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.21k stars 379 forks source link

Key number 1 doesn't work when using QWERTY Portuguese keyboard layout #1047

Open samtd opened 2 years ago

samtd commented 2 years ago

Describe the problem

When I press the 1 key on my keyboard (which has the QWERTY Portuguese layout), the 1 character is not typed in Arduino IDE

To reproduce

  1. Press the 2 key on your keyboard. 🙂 The 2 character is typed in Arduino IDE.
  2. Press the 1 key on your keyboard.

🐛 No character is typed.

Expected behavior

The 1 character is typed in Arduino IDE when I press the 1 key on my keyboard.

Arduino IDE version

Original report

2.0.0-rc7-nightly-20220611

Last verified with

2.0.3

Operating system

Windows

Operating system version

Original report

Windows 10 Pro 21H2 19044.1706

Last verified with

Windows 11 Pro 22H2

Instalado em ‎08/‎10/‎2022 Compilação do SO 22621.900

Additional context

The 1 key works as expected when I use other programs (e.g., Notepad).


The same fault occurs when using an on-screen keyboard.


The fault also occurs when using Arduino IDE 2.0.0-rc7


The fault does not occur when using Theia Blueprint (Cloud and version 1.32.0).

The fault does not occur when using Arduino Web App Version - 6.4.6.


All other number keys on the keyboard work as expected.

If I press Shift+1 the ! is typed in Arduino IDE as expected.

Issue checklist

per1234 commented 2 years ago

Possibly related to https://github.com/arduino/arduino-ide/issues/989

samtd commented 1 year ago

I also tested with Theia IDE and works. Theiablueprint cloud: Work Theiablueprint installed v1.32.0: Work arduino-ide_2.0.3_Windows_64bit.zip : Dont Work arduino-ide_2.0.3_Windows_64bit.exe : Dont Work Arduino Web App Version - 6.4.6: Work

Edição Windows 11 Pro Versão 22H2 Instalado em ‎08/‎10/‎2022 Compilação do SO 22621.900

If i use key number 1 with shift it works the correct character "!", but number 1 i can't have all other keys also works