"Lock workspace when minimizing main window" option not usable under Linux
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
In Linux, if I check the option "Lock workspace when minimizing main window" auto-type does not work anymore. The following error is shown:
"Object reference not set to an instance of an"
(yes, it's truncated)
Using KeePass 2.23 under Linux Mint 16 KDE.
Although I cannot reproduce this (with the current 2.25), I can imagine what might be causing it on your system. I've now added some code that should prevent the issue.
Here's the latest development snapshot for testing:
http://keepass.info/filepool/KeePass_140408b.zip
Thanks and best regards,
Dominik
First of all, to reproduce this problem in 2.23 (maybe also in 2.25), you have to make sure that KeePass main window is not maximized (otherwise the problem does not occur, I don't know why). So, if the main window is not maximized and "Lock workspace when minimizing main window" is checked, when you use auto-type the described error occurs (now that I have improved my font settings, I can read the whole error message: "Object reference not set to an instance of an object"). Please note I'm using KDE, maybe this also contributes to reproduce.
This said, I cannot reproduce this problem in 2.26, even when the window is not maximized. So I think your latest fix actually did the trick. Thank you! :-)