You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On a french PC, when I press the 'a' key in a TextBox, that append 'a' to the text.
However, when I press Ctrl+a to Select All, that also add 'a' to the text.
When I check the KeyDown event to see why the hotkey do not work as expected, the Key contains Q, not A. Same for Ctrl+Z which is Ctrl+W in the hotkey check, etc...
(I press the physical 'A' key on my azerty keyboard)
If I want to select All, I have to type Ctrl+Q in browser at the moment.
@maxkatz6 I think this is why you cannot repro this issue in my other ticket. You probably are on a english PC with querty keyword.
This is probably due to to the Browser (see Additional context below), do you think I have to handle that in my code (with convertion table), of can you do something in Avalonia?
OS: Windows 10, Edge browser, french PC
Version 11 preview 6
Additional context
On collegue that worked with angular told me that when he receive key event, if he press Ctrl+a:
event.code => Key.Q
event.value => 'a'
so he had to check the control modifier and event.value for the hotkey...
and ctrl+shift+a => event.value is 'A' (uppercase when shift is also pressed), but event.code is still Key.Q.
The text was updated successfully, but these errors were encountered:
Hi @maxkatz6 , I am wondering if you have seen this bug report and if it could be fixed for v11?
It is really anoying and should be fixed at Avalonia level IMO. I think it require some kind of querty to azerty remap table when running in browser. See additional context above.
Describe the bug
On a french PC, when I press the 'a' key in a TextBox, that append 'a' to the text.
However, when I press Ctrl+a to Select All, that also add 'a' to the text.
When I check the KeyDown event to see why the hotkey do not work as expected, the Key contains Q, not A. Same for Ctrl+Z which is Ctrl+W in the hotkey check, etc...
(I press the physical 'A' key on my azerty keyboard)
If I want to select All, I have to type Ctrl+Q in browser at the moment.
@maxkatz6 I think this is why you cannot repro this issue in my other ticket. You probably are on a english PC with querty keyword.
This is probably due to to the Browser (see Additional context below), do you think I have to handle that in my code (with convertion table), of can you do something in Avalonia?
Additional context
On collegue that worked with angular told me that when he receive key event, if he press Ctrl+a:
event.code => Key.Q
event.value => 'a'
so he had to check the control modifier and event.value for the hotkey...
and ctrl+shift+a => event.value is 'A' (uppercase when shift is also pressed), but event.code is still Key.Q.
The text was updated successfully, but these errors were encountered: