che
che copied to clipboard
IDE controls/key-mapping not working with alternative keyboard layout (US Dvorak)
Describe the bug
I initially noticed this error when I couldn't (Ctrl+V) to copy paste on either the che-theia OR IDEA IDE. I couldn't even use Edit > Paste controls from the menus. Oddly enough, I could use (Ctrl + C) / Ctrl + V to copy and paste content from within IDEA, but not from the local clipboard into the IDE.
I experienced the same issue on both Chrome and Firefox browsers, so I'm fairly confident it's not a browser issue.
I use a US English Dvorak layout on my keyboard, and I think there's a mapping issue in how the keyboard registers with the IDE(s) system controls.
I confirmed this by switching the local OS keyboard layout to US QWERTY and the (Ctrl+V) correctly accessed and pasted my local clipboard content. So I've got a workaround, but it's not ideal for me since I've been using Dvorak for over a decade now.
Che version
7.75@latest
Steps to reproduce
- Install Che
- Open sample workspace (default or IDEA editor), toggle your system OS keyboard layout to (Dvorak US)
- Copy some text from a non-IDE source like notepad or another browser tab. From a QWERTY keyboard perspective Copy (Ctrl + I) Try to (Ctrl+ .) on QWERTY should be mapped to (Ctrl + c ) for copy and ( Ctrl + v) for paste. Also try pasting using the Menu > Edit > Paste options.
Expected behavior
Should paste copied content from system clipboard.
Runtime
Kubernetes (vanilla), other (please specify in additional context)
Screenshots
No response
Installation method
chectl/latest
Environment
Linux
Eclipse Che Logs
No response
Additional context
I use Ubuntu 22 LTS at home. I think this issue applies in Windows 10 as well, but I'll confirm later and add those details on Windows.
@azatsarynnyy @RomanNikitenko folks, could you please take a look? I put P3 for now given that we are switching to Gateway
This could be related to the projector component in Intellij, https://youtrack.jetbrains.com/issue/PRJ-264/Support-different-keyboard-layouts
There are issues in VSCode too, but I want to keep the research going.