keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.11k stars 1.46k forks source link

AutoOpen database cancel auto-type #1420

Closed OlivierMary closed 5 years ago

OlivierMary commented 6 years ago

Unlock from auto-type shortcut cancel auto-type when autoOpen database is set.

Expected Behavior

Auto-type when databases are locked + autoopen database is set work carefully.

Current Behavior

Auto-type ask for passphrase to unlock, then switch on keepassxc main window, unlock others databases, and nothing.

Possible Solution

No problem when keepassxc main windows is only in tray. No problem when AutoOpen databases isn't set.

Steps to Reproduce (for bugs)

  1. Set an AutoOpen databases see #1053
  2. Lock all databases
  3. Keep KeePassXC main window open (not in tray)
  4. Try a autotype on a windows (anyone matching correctly an autotype)
  5. KeePassXC main windows take focus, secondaries databases take focus on unlock, initial autotype cancelled (not the initial autotype window in focus)

Context

Just auto-type after re-login

Debug Info

KeePassXC - Version 2.2.4 Révision : 5e30214

Bibliothèques :

Système d'exploitation : Arch Linux Architecture CPU : x86_64 Kernel : linux 4.14.14-1-ARCH

Extensions activées :

OlivierMary commented 6 years ago

Same with : KeePassXC - Version 2.2.4 Révision : 50beac2

Bibliothèques :

Système d'exploitation : Arch Linux Architecture CPU : x86_64 Kernel : linux 4.14.14-1-ARCH

Extensions activées :

OlivierMary commented 6 years ago

It's not only with AutoOpen,

I renamed my "AutoOpen" group to ignore AutoOpen functionnality and I observe the same result, keepassxc window take focus and cancel autotype.

KeePassXC - Version 2.3.1 Revision: 2fcaeea

Libraries:

Operating system: Arch Linux CPU architecture: x86_64 Kernel: linux 4.15.9-1-ARCH

Enabled extensions:

OlivierMary commented 6 years ago

I can't reproduce on Windows:

KeePassXC - Version 2.3.1 Révision : 2fcaeea

Bibliothèques :

Système d’exploitation : Windows 7 SP 1 (6.1) Architecture processeur : x86_64 Noyau : winnt 6.1.7601

Extensions activées :

droidmonkey commented 5 years ago

This is fixed in 2.4.0