Why doesn KeePass lock when Windows locks and a KeePass sub-dialog is open?
KeePass automatically tries to lock its workspace when Windows is locked, with one exception: when a KeePass sub-dialog (like the ‘Edit Entry’ window) is currently opened, the workspace is not locked. To understand why this behavior makes sense, it is first important to know what happens when the workspace is locked. When locking, KeePass completely closes the database and only remembers several view parameters, like the last selected group, the top visible entry, selected entries, etc. From a security point of view, this achieves best security possible: breaking a locked workspace is equal to breaking the database itself. Now back to the original question. Let’s assume an edit dialog is open and the workstation locks. What should KeePass do now? Obviously, it’s too late to ask the user what to do (the workstation is locked already and no window can’t be displayed), consequently KeePass must make an automatic decision. There are several possibilities: • Do not save the database and loc