Keepass shuts down when it shouldn't
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
Closing a maximized Keepass window under KDE 4&5 terminates the program entirely regardless of the settings. If the window isn't maximized, it does not terminate and hides into the tray, although before that it exhibits some quirky behaviour playing the animation of going from the minimized to the normal state.
Can be reproduced under Kubuntu 15.04.
Not an issue on my Lubuntu 14.10 test box. Must be an issue with KDE.
cheers, Paul
I cannot reproduce this under Mint 17.1 KDE. Maybe it was a bug in Mono that has been fixed in the meanwhile or something specific to Kubuntu.
Best regards,
Dominik
I still have it under both KDE 4 on Gentoo and KDE 5 on Kubuntu. Could you re-open the issue?
Last edit: Pastafarianist 2015-08-24
This is not a KeePass bug, it will be a mono / KDE issue, but we can't reproduce it.
Do you have any KeePass plug-ins or extra Linux software?
cheers, Paul
I don't think plugins are to blame: I have only KeePassHttp.
It might be more relevant that I have the first two checkboxes selected under Options → Interface → Main Window: "minimize instead of closing" and "minimize to tray". Their combined effect under Linux is as described in the first post. Under Windows, they cause Keepass to be minimized in the tray when I click [x].
I'm not really sure what you mean by the extra Linux software, but I tried this on a clean Kubuntu installation (I think I only installed Chromium), and I reproduced it.
I guess that Keepass settings are stored within the database. If that's correct, I could post here a clean DB with the settings that cause this behaviour. Would you take a look at it?
KeePass settings are stored in the config file, not the database.
http://keepass.info/help/base/configuration.html
Do you have the KeePass helper programs for Linux?
https://sourceforge.net/p/keepass/discussion/329220/thread/5263fef5
cheers, Paul
No, nothing at all. As I said, this is reproduced on an (almost) clean installation of Kubuntu 15.04.
My config file (with the section on the recently opened files cleaned up) is here: https://bpaste.net/show/4b3921346869 It contains the settings for the Readable Password Generator, but that's irrelevant, since I saw the same behaviour before I installed it.
To reproduce, open the Keepass main window, maximize it and click [x]. It should shut down. Then open in unmaximized and click [x]. It will go transparent, then play the animation of restoring from being minimized, then go transparent again.
It's fine on mine with the options you describe.
cheers, Paul
Well, this is weird. I'll try installing Mono 4 (mine is currently 2.10.9-r2, latest "stable" in Gentoo repos).
There is a problem in mono 4 where the database won't save if compression is on. this may be fixed in mono 4.0.4.
https://sourceforge.net/p/keepass/discussion/329221/thread/aa772ea6/
cheers, Paul
On Mono 3.12.1 the behavior is the same. I'll upgrade to Mono 4.0.4 when it shows up in the repository and I'll check back again.