xatupal / KeeTheme

KeePass Plugin
MIT License
457 stars 36 forks source link

KeeTheme will force the passwort dialog to open if KeePassWinHello is used #81

Open NilsRo opened 2 years ago

NilsRo commented 2 years ago

Hi,

I think it could be the same cause like reported here: https://github.com/xatupal/KeeTheme/issues/76

Using KeeTheme with KeePassWinHello the password dialog is shown. This is not the case without KeeTheme. It looks like the main window and dialog windows are forced to be painted on the screen...

grafik

davidegiacometti commented 1 year ago

Hi, I am experiencing this issue too and after debugging the code I have found that it's caused by the following work-around: https://github.com/xatupal/KeeTheme/blob/0b53ba1a8fed14063e19d2eed66d46d9c6a36666/KeeTheme/Win10ThemeMonitor.cs#L66-L69

It's hard to determine why the hack is here (probably needed in older Windows versions) but in 22H2 the title bar is rendered as expected.

I have created a fork and fixed the issue: https://github.com/davidegiacometti/KeeTheme/releases/tag/0.10.2

CC @xatupal