Comment 365 for bug 1226962

Revision history for this message
Jean- (jean-helou) wrote :

I was referred here by Gunnar Hjalmarsson following a question on askubuntu [1] regarding incorrect layout for hotkeys in at least intellij idea and vscode.

In both cases, hotkeys seem to be pinned to the layout corresponding to the first input source declared in the gnome Language and Region settings.
For shortcuts ( and for shortcuts only which makes it really painful) the layout doesn't change but normal typing is correctly remapped.

I have read through this thread but am still unsure if the issue is
- in ubuntu/gnome/linux
- in the apps themselves
- in my own configuration

What I observe :
- setup an azerty layout then a qwerty layout (both are latin compatible)
- in azerty text typing and hotkeys behave as expected in vscode and intellij
- in qwerty text typing behaves correctly but hotkeys are still mapped to the physical keys they would be bound to in the azerty layout
- reverse azerty and qwerty in gnome settings
- in qwerty text typing and hotkeys behave as expected in vscode and intellij
- in azerty text typing behaves correctly but hotkeys are still mapped to the physical keys they
would be bound to in the qwerty layout

What I expect :
- setup an azerty layout then a qwerty layout (both are latin compatible)
- in azerty text typing and hotkeys are bound to azerty keys both in vscode and intellij
- in qwerty text typing and hotkeys are bound to qwerty keys both in vscode and intellij
- reverse azerty and qwerty in gnome settings
- in azerty text typing and hotkeys are bound to azerty keys both in vscode and intellij
- in qwerty text typing and hotkeys are bound to qwerty keys both in vscode and intellij

I tried various combinations of configurations at various layers to try and make this work to no avail for now. my latest config state is in the askubuntu post

[1] https://askubuntu.com/questions/1281251/keyboard-shortcuts-do-not-honor-selected-input-source-in-some-apps