From: Benny M. <ben...@gm...> - 2010-03-19 09:48:52
|
2010/3/19 Serge Noiraud <Ser...@fr...> > Hi, > > sorry, for the delay, I was at linux solutions in Paris and had no internet > for 3 days. > > Duncan Lithgow a écrit : > > On 18 March 2010 12:56, Benny Malengier <ben...@gm...> >> wrote: >> ... >> >> >>> Gramps starts up on the last used view. So if you have crash on >>> geographic >>> >>> >> >> Firefox has the nice feature that it doesn't try to reopen all tabs >> after a crash. Could gramps benefit from something similar? Maybe a >> key=>value pair somewhere like shutdown=bad which gets set to >> shutdown=clean during a clean shutdown? Then gramps could check if >> there was a reason to load cautiously after a crash. >> >> > Geoview doesn't need this as we always start a session from zero. > The only thing we can do in this case is to remove the library which is > at the origin of the crash. This is often webkit but sometimes it is gecko > depending on the distribution. Moved to devel. Actually, I like the idea of Duncan. On startup set shutdown=False, and on close shutdown=True. On startup, if shutdown=True, don't reopen on last view. Can be usefull with all those views in the addons. Also, add a _hidden_ config option in the htmlview ini file to overrule the default backend, something like: custom_backend ='None', 'Webkit' or 'Gecko' . Yes, this is a htmlview thing, not geoview! Then it still needs to be checked if those are actually installed or not. There is no use in showing this option to the user in the configuration dialog, our default is good. It is however good to have an ini option we can say people to change when they have a problem with a package. That is, we don't want option overload for things users should not change, which does not mean we cannot offer an ini file option for it. Benny > > Just a thought, I haven't even gotten around to installing Gramps 3.2, >> been a bit busy. >> >> Duncan >> >> > > |