Doubleclick some entry (KeePass is set to minimize, which activates the next window, in this case Vivaldi).
Ah.. ok so I think I understand a bit better now -- KeePass is minimizing BEFORE CHS sees the new clip... That's a really tricky situation, since CHS thinks another app put the text on the clipboard..
Thanks for explaining it again, now at least I can test and see if I can figure out a solution..
One potential solution might be to check if the active window has changed within milliseconds of the clipboard event, and checking against the previous window if so.
I will note that for 99% of cases, this minimize on copy situation will not be relevant, so CHS will be able to ignore apps properly.