xatupal / KeeTheme

KeePass Plugin
MIT License
457 stars 36 forks source link

Wrong coloring of ListView groups depending on other plugins #28

Closed Rookiestyle closed 4 years ago

Rookiestyle commented 4 years ago

KeePass users using KeeTheme and e. g. my Alternate Auto-Type plugin will experience ListView groups not being themed properly. This happens if the ListView's handle is changed after ListViewHeaderPainter and ListViewGroupsPainter have been instantiated.

Alternate Auto-Type allows the user to sort entries in the Auto-Type entry selection window by making the column headers clickable. Changing the HeaderStyle property seems to create a new ListView Handle

cross-reference: https://sourceforge.net/p/keepass/discussion/329220/thread/fcd9700f30/?page=1&limit=25#e5c4