When saving/quitting with a modified field still in-focus, the changes are not reflected when you re-open the database.
I almost lost some FileVault encryption keys because of this: thank god for my clipboard manager...
Steps to Reproduce:
focus), type 鈱楽 to save the database鈱楺Expected results:
Actual results:
I also have auto-save enabled, and would argue that KeeWeb should _also_ save the field contents if you just go right to 鈱楺 without unfocusing, and don't even press 鈱楽.
This is probably just an issue of not forcing a focusout or blur when the app is quit.
App details:
KeeWeb v1.1.4 (08087c3, 2016-04-21)
Environment: electron v0.37.4
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) KeeWeb/1.1.4 Chrome/49.0.2623.75 Electron/0.37.4 Safari/537.36
OS X version: 10.11.4
My app-settings.json:
$ cat ~/Library/Application\ Support/KeeWeb/app-settings.json | python -m json.tool
{
"autoSave": true,
"autoUpdate": "install",
"clipboardSeconds": 0,
"colorfulIcons": false,
"demoOpened": false,
"dropbox": false,
"expandGroups": true,
"gdrive": false,
"helpTipCopyShown": true,
"hideEmptyFields": false,
"idleMinutes": 15,
"listViewWidth": null,
"lockOnCopy": false,
"lockOnMinimize": true,
"menuViewWidth": null,
"minimizeOnClose": false,
"onedrive": false,
"rememberKeyFiles": false,
"skipHttpsWarning": false,
"skipOpenLocalWarn": false,
"tableView": false,
"tagsViewHeight": null,
"theme": "fb",
"webdav": false
}
Happens on a new test database, but not applicable to test on a Demo database, since I can't get that to save on an actual filesystem...
test1234Can't show devtools either, because I'm quitting the app, and wouldn't be able to see its output :)
I just looked into this, and it seems to happen when the input field is still active (eg. ENTER hasn't been hit or the input still have focus) so endEdit is never called when the application is exited.
To reproduce without exiting, you can open webdev tool and hit CMD+R (or CTLR+R) to force a refresh while the input field is still active.
I don't need a reproduction for this, the case is very clear. You can see a special label 'need-info' where the issue needs more details.
Deployed to beta.keeweb.info, will be available in the next release