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

Autotype special keys like ctrl or command are not working on macos #6695

Closed
MmAtBosch opened this issue Jul 1, 2021 · 7 comments · Fixed by #7366
Closed

Autotype special keys like ctrl or command are not working on macos #6695

MmAtBosch opened this issue Jul 1, 2021 · 7 comments · Fixed by #7366

Comments

@MmAtBosch
Copy link

Overview

I want to use special keys like ctrl or command to do shortcuts like ctrl+a or command+l to navigate inside of my browser using autotype.
In Keepass on Windows i just used "^l" for example to go to my adress bar.

Sadly this seems not work in KeepassXC on Macos even it´s document here:

A complete list of supported actions and placeholders can be found at KeePass Auto-Type Action Codes and KeePass Placeholders

https://keepass.info/help/base/autotype.html#autoseq
Auto-Type - KeePass 2021-07-01 12-36-29

Steps to Reproduce

  1. Just create an entry and edit the autotype sequence to: %l
  2. and execute the autotype inside your browser(chrome in my case, but shouldn´t mater)

Expected Behavior

In my understanding this should result in alt+l meaning command+l in macos and focusing to adress bar.

Actual Behavior

it is simply typing %l

Context

Using macOS BigSur

KeePassXC - 2.6.6
Revision: 386b79a

Operating System: macOS

@MmAtBosch MmAtBosch added the bug label Jul 1, 2021
@droidmonkey
Copy link
Member

Feature will be in 2.7.0, use a snapshot of develop at https://snapshot.keepassxc.org to use it now

@MmAtBosch
Copy link
Author

awesome 🤗 thank you!

@MmAtBosch
Copy link
Author

i just downloaded the latest 2.7 snapshot and gave it a try. sadly it doesn´t work either.
is it not implemented yet? or is there an updated documentation regarding?

@droidmonkey
Copy link
Member

droidmonkey commented Jul 1, 2021

Hmmmm could be because macos switches the controls around from Linux and Windows (Cmd vs Ctrl). Might be an actual bug here!

@MmAtBosch
Copy link
Author

let me know if i can help somehow!

droidmonkey added a commit that referenced this issue Jul 17, 2021
* Fix error in regex that prevented use of modifier keys in general.
* Added '#' modifier to press the "Meta" button. This correlates to the Windows key on Windows and Command key on macOS.
* Fix #6695 - send proper modifier keys based on documentation
@droidmonkey
Copy link
Member

Thank you for posting this because I just found that there was a bug in general with the regular expression I used to detect these modifier keys. This prevented their use on all platforms! I also needed to fix the sending of keys on Windows, so this was overall an excellent bug fix report.

@MmAtBosch
Copy link
Author

Thank you for posting this because I just found that there was a bug in general with the regular expression I used to detect these modifier keys. This prevented their use on all platforms! I also needed to fix the sending of keys on Windows, so this was overall an excellent bug fix report.

Glad to hear this :)
Im curious about the new version, as i´m also experience another issue in the meantime, when i´m working with my Azure VMs and trying to login there.

@droidmonkey droidmonkey added this to the v2.7.0 milestone Jul 22, 2021
@droidmonkey droidmonkey self-assigned this Jul 22, 2021
droidmonkey added a commit that referenced this issue Oct 8, 2021
* Fix error in regex that prevented use of modifier keys in general.
* Added '#' modifier to press the "Meta" button. This correlates to the Windows key on Windows and Command key on macOS.
* Fix #6695 - send proper modifier keys based on documentation
droidmonkey added a commit that referenced this issue Feb 1, 2022
* Fix error in regex that prevented use of modifier keys in general.
* Added '#' modifier to press the "Meta" button. This correlates to the Windows key on Windows and Command key on macOS.
* Fix #6695 - send proper modifier keys based on documentation
droidmonkey added a commit that referenced this issue Feb 6, 2022
* Fix error in regex that prevented use of modifier keys in general.
* Added '#' modifier to press the "Meta" button. This correlates to the Windows key on Windows and Command key on macOS.
* Fix #6695 - send proper modifier keys based on documentation
droidmonkey added a commit that referenced this issue Feb 9, 2022
* Fix error in regex that prevented use of modifier keys in general.
* Added '#' modifier to press the "Meta" button. This correlates to the Windows key on Windows and Command key on macOS.
* Fix #6695 - send proper modifier keys based on documentation
t-h-e pushed a commit to t-h-e/keepassxc that referenced this issue Sep 8, 2022
* Fix error in regex that prevented use of modifier keys in general.
* Added '#' modifier to press the "Meta" button. This correlates to the Windows key on Windows and Command key on macOS.
* Fix keepassxreboot#6695 - send proper modifier keys based on documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants