Skip to content

Autotype picks the wrong window in multi-monitor setup [MacOS]  #2401

@dovecode

Description

@dovecode

Expected Behavior

When pressing the global hotkey for autotype, the user name and password should be entered into the application window that the user had focus on.

Current Behavior

KeepassXC sometimes picks the wrong window of the application. This seems to happen when there are multiple windows of the same application (e.g. browser windows) open on different monitors.

Possible Solution

No idea. This is probably related to MacOS "alternative" window switching behavior.

Steps to Reproduce (for bugs)

  1. Configure multi-monitor setup
  2. Open an application that support multiple windows (e.g. Firefox)
  3. Place a window on every monitor
  4. Press the global autotype hotkey
    (step 4 might be tried in different windows on different monitors -- I have yet to find a pattern)

Context

This ends up with passwords in URLs, submitted in forms, etc. The information leakage is pretty bad!

Debug Info

KeePassXC - Version 2.3.4
Revision: 6fe821c

Libraries:

  • Qt 5.9.3
  • libgcrypt 1.8.2

Operating system: macOS 10.14
CPU architecture: x86_64
Kernel: darwin 18.0.0

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • Legacy Browser Integration (KeePassHTTP)
  • SSH Agent
  • YubiKey

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions