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

Debugging KeePassWinHello in Visual Studio 2022 throws exception #97

Closed
frostynumeral opened this issue Mar 10, 2023 · 2 comments
Closed

Comments

@frostynumeral
Copy link

Debugging KeePassWinHello in Visual Studio 2022 throws InvalidOperationException: Cross-thread operation not valid: Control 'MainForm' accessed from a thread other than the thread it was created on.

KeepPassWinHelloDebug

How is it possible to debug this plugin?

@sirAndros
Copy link
Owner

Hi! It's looks like KeePass plugin architecture has changed and now KeePass runs us in separate thread (not the UI one as before).
Or maybe it something with WinForms in win11, as we have several issues with this OS and both me and @shuffle-c still using win10. And I have latest KeePass version btw, and on my machine latest release version of the plugin works great (except WinHello window have sometimes been hidden by some other windows, but I still don't know how to fight it and we have separate issue for it).
Anyway, thanks for clues and please stay in touch if we need further info. Also if you fix it by your own, PRs are very welcome ;-)

@frostynumeral
Copy link
Author

frostynumeral commented Mar 11, 2023

Hi @sirAndros! Thank you for the explanation. On my Windows 10 machine the plugin works fine, I only have issues on Windows 11.

@sirAndros sirAndros mentioned this issue Apr 1, 2024
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

No branches or pull requests

2 participants