Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut functionality that uses letters doesn't work on the Russian (Cyrillic) keyboard layout #2384

Open
coldsteelbr opened this issue Oct 26, 2019 · 1 comment

Comments

@coldsteelbr
Copy link

In MacOS on the English keyboard layout copy/paste works when pressing Cmd-C/Cmd-V, but it doesn't work when I switch the layout to Russian (Cyrillic). The same applies to Cmd-A (select all), Cmd-Z (undo) etc.

I guess that mentioned functions are bound with hard-coded Latin chars - C, V, Z, A etc, instead of codes of according keys.

@coldsteelbr coldsteelbr changed the title Shortcut functionality that uses letters doesn't work on the Russian keyboard layout Shortcut functionality that uses letters doesn't work on the Russian (Cyrillic) keyboard layout Oct 26, 2019
@elextr
Copy link
Member

elextr commented Oct 26, 2019

The problem is that when you switch to Cyrillic those keys return Cmd+ a different character, not Cmd+C any more. You should be able to re-bind to whatever it is that the Cyrillic keyboard returns.

Unfortunately GTK does not return hardware codes so we would always see Cmd and C, only Unicode after it has converted for the keyboard layout, see #1368 for the long storey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants