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

Keyboard shortcuts unavalible in non-QWERTY layout #4080

Open
alexfeelow opened this issue Jan 26, 2024 · 11 comments
Open

Keyboard shortcuts unavalible in non-QWERTY layout #4080

alexfeelow opened this issue Jan 26, 2024 · 11 comments
Labels
a11y backlog Queued in backlog bug Something isn't working good first issue Good for newcomers pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day

Comments

@alexfeelow
Copy link

Describe the bug

Hello there. I can't use keyboard shortcuts like Ctrl + C, Ctrl + V, Ctrl + A on Windows (interesting that Ctrl + F is working) with Russian layout. It works in Cawemo (wich will be expired in april), but didn't work in Camunda Web Modeller, and such problem is in desktop version. I tried to download bpmn-js and run local on my side — the result is the same. Help me please to fix this problem.

Steps to reproduce

  1. Choose Russian layout
  2. Try to use Ctrl + C, Ctrl + V, Ctrl + A
  3. Shortcuts didnt work

Expected behavior

Keyboard shortcuts like Ctrl + C, Ctrl + V, Ctrl + A work with Russian layout

Environment

  • OS: [Windows 10]
  • Camunda Modeler Version: [5.19.0]
  • Execution Platform: none
  • Installed plug-ins: none

Additional context

No response

@alexfeelow alexfeelow added the bug Something isn't working label Jan 26, 2024
@barmac
Copy link
Collaborator

barmac commented Feb 1, 2024

Hi, thanks for reporting. It seems that the keyboard shortcuts are quite a difficult topic to get right for multiple keyboard layouts (microsoft/vscode#141761).

Besides the shortcuts you mentioned, does undo/redo (Ctrl+Z/Y) work for you? What are the expected keys that the shortcuts should fire on with Russian layout?

@barmac
Copy link
Collaborator

barmac commented Feb 1, 2024

I assume we are discussing JCUKEN here:

image

https://en.wikipedia.org/wiki/JCUKEN

@barmac barmac added the needs more information Requires additional information to be actionable. label Feb 1, 2024
@barmac
Copy link
Collaborator

barmac commented Feb 1, 2024

We used to stick to keycode to fire shortcuts for specific physical keys on the keyboard, but it doesn't work for each layout as users' expectations are different among languages (see the issue I linked).

@alexfeelow
Copy link
Author

alexfeelow commented Feb 1, 2024 via email

@barmac
Copy link
Collaborator

barmac commented Feb 2, 2024

Thanks for clarification. So if I understood you correctly, the expected key locations are the same as for QWERTY layout users, but different keys are represented there in JCUKEN. Therefore, we could activate the shortcuts based on the location which can be detected via KeyboardEvent.code property.

@alexfeelow
Copy link
Author

alexfeelow commented Feb 2, 2024 via email

@barmac
Copy link
Collaborator

barmac commented Feb 2, 2024

Thanks for collaboration. I am placing this in the backlog right now. This should be fixed in https://github.com/bpmn-io/bpmn-js

@barmac barmac added backlog Queued in backlog a11y pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day good first issue Good for newcomers and removed needs more information Requires additional information to be actionable. labels Feb 2, 2024
@barmac barmac changed the title Keyboard shortcuts unavalible in my layout Keyboard shortcuts unavalible in non-QWERTY layout Feb 2, 2024
@alexfeelow
Copy link
Author

alexfeelow commented Feb 2, 2024 via email

@barmac
Copy link
Collaborator

barmac commented Feb 5, 2024

I will take this to our iteration planning, but cannot tell any fixed date to make it work again.

@barmac barmac added ready Ready to be worked on and removed backlog Queued in backlog labels Feb 5, 2024
@CatalinaMoisuc CatalinaMoisuc added backlog Queued in backlog and removed ready Ready to be worked on labels Feb 20, 2024
@alexfeelow
Copy link
Author

Good day!
Tell me please, is there any information about the time when this issue will be fixed?

@barmac
Copy link
Collaborator

barmac commented Apr 3, 2024

We don't have an estimation right now as the issue was moved to the backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y backlog Queued in backlog bug Something isn't working good first issue Good for newcomers pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day
Projects
None yet
Development

No branches or pull requests

3 participants