+1
Under review
Do not open database on start
Pre-req:
1. CintaNotes with auto-start enabled
2. DB file inside crypto-container
Case:
If CintaNotes auto-start option enabled, program shows error "DB file not exists" because crypto-container is not mounted.
It would be better to open database on first window show instead.
Finally, my proposal is change CintaNotes start behavior a bit to make possible case: start user session, mount crypto-volume, then press HotKey and do not have any errors.
1. CintaNotes with auto-start enabled
2. DB file inside crypto-container
Case:
If CintaNotes auto-start option enabled, program shows error "DB file not exists" because crypto-container is not mounted.
It would be better to open database on first window show instead.
Finally, my proposal is change CintaNotes start behavior a bit to make possible case: start user session, mount crypto-volume, then press HotKey and do not have any errors.
Customer support service by UserEcho
Thanks for the idea! Have you tried some delayed start options, so that CintaNotes only starts when the crypto container is already mounted? (The most primitive thing to do would be write a bat file that would mount the container first, and then run CintaNotes, but there are better alternatives, e.g. using the Task Scheduler).
which I find to be very useful anyway.
You can see the behavior I described in KeePass tool (popular password storage tool). It starts minimized to tray and shows login screen only on first use and then open DB file. I think it is good way: acquire resources only when they are required and free asap.
BTW, if you plan to implement whole-DB/per-record encryption you will need to implement similar behavior anyway. Records must not stay decrypted in memory all the time.
CN tries to open DB.
If DB not available or encrypted - show DB open/selection dialog inside disabled note edit dialog. Like the web-sites do when they need auth before post message: keep message faded on background and show auth form on top.
If DB not encrypted and available - just open it and add note.
BTW when should the notebook be encrypted again, what do you think? When CN is minimized to tray? I doubt that the notebook should be freely accessible till the next reboot.. Maybe after an inactivity timeout? Do you know how other apps deal with this? Thanks
Time-out is long enough to track active user. It means cache hit reset counter again.
One more time-out case if global user inactivity: no mouse movement, no keyboard events.
Also possible:
* Emergency lock (by hot-key);
* Desktop/Hibernate/etc lock. Win+L locks Desktop, but also flush data and sync DB. This case is not simple because some crypto-tools can force encrypted volumes unmount the same time. But some workarounds are possible to prevent data loss. At least you can try to keep encrypted DB in memory until storage appears again.
* Lock on CN minimize, etc
Check the KeePass - Tools - Options - Security to see different options.
May be you do not need them all now. At least the "delayed DB open" feature can be implemented w/o all above. ;)