2012/10/7 Paul Franklin <email@example.com>
I think automatically disabling "Remember last view"
whenever gramps is started with the database locked
is a wonderful idea, and should go into 3.4.2 as I have
seen dozens of users on the bug tracker asking what
to do in this situation. They are typically beginners
(and as Jerome says typically after trying a buggy
third-party addon) and we should prevent it happening.
It is not related to the family tree though. It would be interesting to add to the config setting a clean-exit option. On opening of gramps it can be set to False, only the closing of gramps in a normal way should write True to it.
Then on restart, if clean-exit is False, load the default Person View.
Yes, that would be helpful.
It would also be helpful to have a top-level exception handler that displays (or writes to a file in $HOME ) the traceback and cleans up and closes the database so that the user doesn't have to break the lock when s/he restarts. It won't help with segfaults, but almost all of the crash bugs I see are from unhandled exceptions .