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

Can't hotkey a period (dot) #43

Open
jherman opened this issue Feb 23, 2022 · 3 comments
Open

Can't hotkey a period (dot) #43

jherman opened this issue Feb 23, 2022 · 3 comments

Comments

@jherman
Copy link

jherman commented Feb 23, 2022

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Can't hotkey a period (dot).

Expected behavior

To be able to hotkey a period

Minimal reproduction of the problem with instructions

Attempted:

{ keys: 'control.\.', description: 'Go To Settings' }
{ keys: 'control..', description: 'Go To Settings' }
{ keys: 'control..', description: 'Go To Settings' }
{ keys: 'control.46;', description: 'Go To Settings' }

What is the motivation / use case for changing the behavior?

Using this specific hotkey to go to settings

Environment


Angular version: 13.x


Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
@izbushka
Copy link

Even more, on Ukrainian and Russian layout the dot character and "?" are on the same button, so you can't trigger the help window on those layouts.

@Tweniee
Copy link

Tweniee commented Nov 7, 2023

@jherman can you be more specific about the issue not able to understand with "Can't hotkey a period (dot)."

@larskn
Copy link

larskn commented Jun 4, 2024

Hi, @Tweniee

I am not the original commenter, but I will give a few more details since I am having the same issue.

It does not seem to be possible (or I am not able to find a way) to place a shortcut on the dot/period key (.)

As an example,this works fine: this.hotkeys.addShortcut({ keys: 'alt.,', description: 'Foo' })
bus this does not work this.hotkeys.addShortcut({ keys: 'alt..', description: 'Foo' })
(for obvious reasons since "." is the separator char)

The HotkeysShortcutPipe prints this shortcut (alt..) as:
grafik

So the question is: Is there any way to create a shortcut for the dot/period key (.) ?
(@jherman Listed a few ways they tried that weren't successful.)

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

4 participants