Comment 14 for bug 801414

Revision history for this message
David Lechner (dlech) wrote :

Dominik (keepass author) figured this out.

quoting from his email...
----
The cause is that during locking, KeePass updates the main window's title bar text (to append a "[Locked]" suffix) and here Mono recreates the window incorrectly. This window recreation can be prevented by faking the private member variable shown_raised of the form to be false while the text is being set. This doesn't seem to have any negative effects (the title bar text is still set, because even without the window recreation the XplatUI.Text method is called; and according to the comment in the Mono source code the window recreation is only required when the text switches between empty and non-empty, which never happens in KeePass as it's always non-empty).

The latest development snapshot for testing is here:
http://keepass.info/filepool/KeePass_130331.zip
http://keepass.info/filepool/KeePass_130331_SrcP.zip
----