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

Windows Snipping-Tool Keyboard Shortcut saves Workflow/Service #61

Open
JeromeReyes-GIP opened this issue Apr 11, 2024 · 0 comments
Open

Comments

@JeromeReyes-GIP
Copy link

Problem:
The keyboard shortcut Ctrl+Shift+s can be used to save the currently opened workflow. While documenting tickets I used the Windows Snipping-Tool-Shortcut Ctrl+Win+s and my workfows were saved.

The next week while checking our repository, git status showed different changes in workflows I did not mean to change.

Possible solution:
In "zeta\base\services\keypress-distribution.service.ts" the event.metaKey is probably the culprit:
ctrl: event.ctrlKey || event.metaKey,

In newer browser versions the event.metaKey (which is used for checking if the Mac Command key is pressed), returns also true for the Windows key.

Maybe a check for the OS could be implemented?

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

1 participant