Skip to content

Auto-type selects always the DB in the first tab for unlocking #476

@seatedscribe

Description

@seatedscribe

Prerequisites:

  • we have opened more than one database under the same instance of KPX (i.e. multiple tabs in the main window)
  • an item in one of the DBs is configured for auto-type with a 'window association'
  • all the databases are locked (otherwise it works as expected)

Expected Behavior

  1. Focus on the window associated with the aforementioned item
  2. Press auto-type shortcut
  3. KPX pops up the 'unlock database' window related to the DB that contains that item, if item is unique
  4. KPX pops up a 'cannot choose a DB' window if item is not unique

Current Behavior

At step 3, KPX shows the unlock window for the database on the first tab instead of the database that contain the item associated with that window.

Context

If there is the need to use multiple files this issue could be easily triggered. I think the only solution is a search on the entire set of DBs and to come up with an unlock window for the right DB - or a warning message about more than one item matching the "window title".

N.B. what if there are more instances of KPX? I dont know...

Your Environment

KeePassXC - Version 2.1.3
Revision: 86e88c1

Libraries:

  • Qt 5.5.1
  • libgcrypt 1.6.5

Operating system: Ubuntu 16.04 LTS
CPU architecture: x86_64
Kernel: linux 4.4.0-62-generic

Enabled extensions:

  • Auto-Type

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions