Search Issue Tracker

Fixed in 2021.1.X

Votes

0

Found in

2018.4

2020.1.13f1

2021.1

Issue ID

1292935

Regression

No

Shortcut Manager treats AltGr+key combinations as Alt+Ctrl+key combinations when binding AltGr+key combination to a command

Shortcut Management

-

How to reproduce:
1. Open the user's attached project
2. Set the keyboard layout in your OS to 'United States-International'
3. Open 'Edit' > 'Shortcuts..'
4. In the search bar of the Shortcuts Manager type 'Bug report'
5. Bind the 'Bug Report/Unity Doesnt Understand ALT GR' command to the AltGr+M key combination
6. Use the AltGr+M key combination and observe the console
7. Use the Ctrl+Alt+M key combination and observe the console

Expected result: The shortcut is displayed as AltGr+M, only the AltGr+M key combination triggers the command
Actual result: The shortcut is displayed as Ctrl+Alt+M, both AltGr+M and Ctrl+Alt+M key combinations trigger the command

Reproducible with: 2018.4.29f1, 2019.4.15f1, 2020.1.15f1, 2020.2.0b13, 2021.1.0a7

Notes:
- The issue reproduces with keyboard layouts that have AltGr modifier key (e.g. Lithuanian, English (India), United Kingdom, Igbo, Irish...) and doesn't reproduce with the US keyboard layout (it doesn't have AltGr modifier key)
- The 'Bug Report/Unity Doesnt Understand ALT GR' command logs 'Try binding to alt gr' in the Console

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.