#721·keepassxc

Database does not lock if it has unsaved changes

Author: lopopoloCreated Jun 29, 2017Updated Sep 13, 2026
Labelshigh priority :rotating_light:security

Expected Behavior

When the setting "lock databases when session is locked or lid is closed" is enabled, the database should be locked on sleep even if the about menu is showing

Current Behavior

Database remains unlocked with about menu active

Possible Solution

Steps to Reproduce (for bugs)

  1. Unlock database
  2. Choose menu item KeepassXC > About KeepassXC
  3. Select Debug Info tab
  4. Put computer to sleep
  5. Unsleep computer

Context

Debug Info

KeePassXC - Version 2.2.0 Revision: caa49a8ef3ee28ed478192389b21d61107b3b8e0

Libraries:

  • Qt 5.9.0
  • libgcrypt 1.7.7

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

Enabled extensions:

  • KeePassHTTP
  • Auto-Type
  • YubiKey

Source: keepassxreboot/keepassxc