-
Notifications
You must be signed in to change notification settings - Fork 418
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
Hotkeys do Not work on non-English Keyboard Layout #928
Comments
Thanks for your report. This is a known issue for which we have done some research in camunda/camunda-modeler#4080 |
So right now we support German-style layout well, but seem to miss out for Ukrainian, Russian, and perhaps more. However, on MacOS, Ukrainian layout works just fine with the existing shortcuts. So it may be platform-dependent. What OS do you use? |
It is reproduced as on Windows as on Ubuntu 22.04. I found this commit c63a452 . Before that change, it worked fine. At least we could just add Ukrainian letters to |
Thanks for notice. The thing is that even if we add Ukrainian letters, that does not solve the problem of other languages. So we should probably use the physical location, and only support special cases like German separately. |
Hello. Looking forward to the fix. How can I help speed it up? Thanks! |
@Vovamzur Mid-term we want to make the keyboard shortcuts pluggable. As part of your environment, and your usage patterns, you should be able to dynamically change shortcuts. The complications are well described in this recent thread. We move this issue to the backlog for now, and consider to make keyboard shortcuts more pluggable in the future. To workaround this issue today you need to replace the |
Describe the Bug
The problem relates to detecting key events, particularly when relying on the
event.key
property, which returns different values depending on the active keyboard layout. We should fix it in https://github.com/bpmn-io/diagram-js/blob/develop/lib/features/keyboard/KeyboardUtil.js by relying onevent.code
=== 'KeyC' instead for example I believeSteps to Reproduce
The text was updated successfully, but these errors were encountered: