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 on Mac Broken 2.4.1 -- Similar to Issue #2883 #3089

Closed
HUGHUSR opened this issue Apr 27, 2019 · 14 comments
Closed

AutoType on Mac Broken 2.4.1 -- Similar to Issue #2883 #3089

HUGHUSR opened this issue Apr 27, 2019 · 14 comments
Labels

Comments

@HUGHUSR
Copy link

HUGHUSR commented Apr 27, 2019

Just upgraded to 2.4.1 from 2.3.something. No issue with autotype in previous version.

Neither CMD-V nor SHIFT-CMD-V work.
Does not work on a second attempt to an app either. Or, third, for that matter.

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

1.
2.
3.

Context

Debug Info

KeePassXC - Version 2.4.1
Revision: 7bafe65

Qt 5.12.2
Debugging mode is disabled.

Operating system: macOS Sierra (10.12)
CPU architecture: x86_64
Kernel: darwin 16.7.0

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (only unsigned sharing)
  • YubiKey
  • TouchID

Cryptographic libraries:
libgcrypt 1.8.4

@HUGHUSR HUGHUSR added the bug label Apr 27, 2019
@HUGHUSR
Copy link
Author

HUGHUSR commented Apr 27, 2019

A few clarifications.

  1. Re: Hide window when performing entry auto-type on macOS Hide window when performing entry auto-type on macOS #2969 -- I do NOT have this option selected.
  2. Breaks with any app I try, including: Cliqz (any website login), Firefox (any website login), Safari (any website login), Grammarly app, iTunes app, and Adium app.

@HUGHUSR
Copy link
Author

HUGHUSR commented Apr 27, 2019

INI File -- in case it helps:

[General]
AutoReloadOnChange=true
AutoSaveAfterEveryChange=true
AutoSaveOnExit=true
AutoTypeDelay=25
AutoTypeEntryTitleMatch=true
AutoTypeEntryURLMatch=true
AutoTypeStartDelay=500
BackupBeforeSave=true
GlobalAutoTypeKey=0
GlobalAutoTypeModifiers=0
IgnoreGroupExpansion=true
LastChallengeResponse=@variant(\0\0\0\x1c\0\0\0\0)
LastDatabases=/Volumes/Bar1/Bar2/Bar3/foo.kdbx
LastDir=
LastKeyFiles=@invalid()
MinimizeOnCopy=false
OpenPreviousDatabasesOnStartup=true
RememberLastDatabases=true
RememberLastKeyFiles=false
SSHAgent=false
SingleInstance=true
UpdateCheckMessageShown=true
UseAtomicSaves=true
UseGroupIconOnEntryCreation=true
UseTouchID=@variant(\0\0\0\x1c\0\0\0\x1\0\0\0J\0/\0V\0o\0l\0u\0m\0\x65\0s\0/\0K\0\x65\0y\0s\0/\0K\0\x44\0\x42\0 \0M\0\x61\0s\0t\0\x65\0r\0s\0/\0j\0k\0P\0\x61\0s\0s\0.\0k\0\x64\0\x62\0x\0\0\0\x1\0)

[Browser]
AlwaysAllowAccess=false
AlwaysAllowUpdate=false
BestMatchOnly=false
CustomProxyLocation=
Enabled=false
HttpAuthPermission=false
MatchUrlScheme=true
SearchInAllDatabases=false
ShowNotification=true
SortByUsername=false
SupportBrowserProxy=true
SupportKphFields=true
UnlockDatabase=true
UpdateBinaryPath=true
UseCustomProxy=false

[GUI]
CheckForUpdates=true
CheckForUpdatesIncludeBetas=false
CheckForUpdatesNextCheck=1556931127
DarkTrayIcon=false
HidePreviewPanel=true
HideToolbar=false
Language=system
MinimizeOnClose=false
MinimizeOnStartup=false
MinimizeToTray=false
MovableToolbar=false
ShowTrayIcon=false
ToolButtonStyle=1

[KeeShare]
Settings.active="\n<KeeShare xmlns:xsd="http://www.w3.org/2001/XMLSchema\" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\">\n \n\n"
Settings.foreign="\n<KeeShare xmlns:xsd="http://www.w3.org/2001/XMLSchema\" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\">\n \n\n"
Settings.own="\n<KeeShare xmlns:xsd="http://www.w3.org/2001/XMLSchema\" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\">\n \n \n\n"

[security]
HidePasswordPreviewPanel=true
IconDownloadFallback=true
autotypeask=true
clearclipboard=true
clearclipboardtimeout=20
hidenotes=false
lockdatabaseidle=true
lockdatabaseidlesec=3600
lockdatabaseminimize=true
lockdatabasescreenlock=true
passwordemptynodots=true
passwordscleartext=true
passwordsrepeat=true
relockautotype=false
resettouchid=false
resettouchidscreenlock=true
resettouchidtimeout=30

@gfairchild
Copy link

I can confirm. I'm seeing the same behavior. I'm running 2.4.1 on macOS 10.14.4.

@Eyjafjallajokull
Copy link

Same here, nothing happens when I press autotype key. I've downgraded to 2.3.4 and works fine.

@droidmonkey
Copy link
Member

Try disabling and enabling accessibility access for KeePassXC in the macOS settings.

@HUGHUSR
Copy link
Author

HUGHUSR commented May 14, 2019 via email

@HUGHUSR
Copy link
Author

HUGHUSR commented Jun 19, 2019

For what it is worth, upgraded to 2.4.3 and this is still broken.
If I downgrade 2.3.4, it works. So, it is not a macOS issue.

@droidmonkey
Copy link
Member

droidmonkey commented Jun 19, 2019

I just used auto-type with 2.4.3 on macOS. I can assure you it works. I meant to close this before.

@gfairchild
Copy link

Clicking on a row in KeePassXC and hitting CMD+V definitely does not work for me. This used to work without issue, but it no longer works for me with 2.4.3. @droidmonkey, how did you make it work for you? Is there some config change that needs to happen?

@droidmonkey
Copy link
Member

The keyboard shortcut for selected Auto-Type was changed to CMD+SHIFT+V in 2.4.0

@HUGHUSR
Copy link
Author

HUGHUSR commented Jun 20, 2019 via email

@HUGHUSR
Copy link
Author

HUGHUSR commented Jun 20, 2019 via email

@droidmonkey
Copy link
Member

If you are using the "entry level" auto-type and the KeePassXC window goes to the background and the last used window gets focus but nothing gets typed... that indicates the accessibility "control of computer" setting is not applying. Remove and re-add KeePassXC as a trusted application. If you have BOTH KeePassXC 2.3.4 and 2.4.3 installed you may have to enable both of them.

If you are using the global auto-type and nothing is being found in the database, try relaxing the window matching criteria by introducing wildcards:

image

@gfairchild
Copy link

The keyboard shortcut for selected Auto-Type was changed to CMD+SHIFT+V in 2.4.0

This worked! I must've missed that line when I read the changelog. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants