Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows Hello popup position #88

Closed
wants to merge 1 commit into from
Closed

Fix Windows Hello popup position #88

wants to merge 1 commit into from

Conversation

davidegiacometti
Copy link

@davidegiacometti davidegiacometti commented May 19, 2022

Open Windows Hello popup centered on main desktop
Fixes #54

EDIT: not working properly on Windows 11

@davidegiacometti davidegiacometti deleted the issue-54 branch May 19, 2022 22:43
@SilveIT
Copy link

SilveIT commented May 20, 2022

Hi. Have you tried using GetForegroundWindow? As we are autotyping in the foreground window the windows hello dialog should also popup in that window. Not quite sure what are you trying to achieve with the GetDesktopWindow...

@davidegiacometti
Copy link
Author

Hi,
I think GetForegroundWindow have more sense.
The main problem is that this is working on Windows 10, but on Windows 11 the Windows Hello popup steal the focus to KeePass.

@SilveIT
Copy link

SilveIT commented May 21, 2022

So.. If the fix won't work on W11 it will still work on W10 at least. Right? Fixing it on the W11 just will be another thing.
I suggest you creating a pull request with the W10 fix (still recommend trying the GetForegroundWindow).

@sirAndros
Copy link
Owner

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.

Windows Hello dialog position at top-left of the screen if main window is hidden
3 participants