Harry wrote:But logically the timechange should happen when you select an object...
Having some thoughts on this, I see that there has to be a more precise description:
Obvious there are different situations:
Concerning spacecrafts:
Most of them (about 80% on my installation) exists completely in the past. If you want to visit or watch them, changing the timeframe is unavoidable. If you want to see only track or orbit data you don`t need to change time, because these 'live' forever. Same for the ones completely in the future. If the craft exists also in (simulation) present, I would think it's unusual that you want to be set to the start of the timeframe.
Concering movement: Most time you 'goto' the craft. It's seldom that you are still there.
Planetal Bodies:
Most time you are still there, and only want to see a future/past version, so no 'goto' here. If you select a present one, no timeset is wanted usually. Selecting a past/future one usually inherits the need for a timeset.
I see the valuability of a programmed timeset because I spent alone six hours yesterday for commenting all my spacecraft ssc's with the gregorian dates out of the julian day data, playing around with copy,paste,calculate,... all the time. And I still have to open the ssc's to look when I want to go - while celestia already knows this internally.
There are three main selection sources:
Navigation->Select Object, Navigation->Go To Object:
Two checkboxes 'Set to timeframe start' and 'Set to timeframe end' would do a great job.
Solar System Browser:
Those two checkboxes would also do the job I think.
Autoselection List initiated with [RETURN]:
I'm not sure how to get along with this. A different color for those not existing in present? How about a hotkey that sets time to the framestart of selected object - this maybe an overall solution.
Harry wrote:This only makes sense if you have one script running all the time, which takes care of this for all objects. The script itself is not the problem, but having it running all the time can be difficult because it's easy to stop it by accident - that's where the idea of background-scripts comes in, which has been discussed on the developer mailing list, but without any final conclusion.
I think it's worth being further considered.
Do my opinion these scripts are still event handlers. Not for user events, but for Celestia internal events. Or do I mention something different here? Perhaps this is stuff for another thread - I think Celestia (simulation-)internal events should be able of being handled anyhow. Hmmm...
maxim