Skip to content

Improve database unlock handling in Handlers.cs - #126

Open
ArtyoZ wants to merge 1 commit into
smorks:mainfrom
ArtyoZ:main
Open

ArtyoZ wants to merge 1 commit into
smorks:mainfrom
ArtyoZ:main

Conversation

@ArtyoZ

@ArtyoZ ArtyoZ commented Sep 18, 2026

Copy link
Copy Markdown

Previously, when WindowCount was "busy", the method did nothing at all — it neither opened a new dialog nor activated an existing one. The user saw "nothing happened", even though an unshown password entry dialog could actually be hanging somewhere behind the browser window. This patch adds an explicit attempt to bring the KeePass window to the foreground in that case — a minimal, safe change that does not affect the protocol or alter behavior when WindowCount == 0.

Related to #6 and #35

Refactor unlock database logic to check for open dialogs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant