Bill Tschumy replied to the topic 'Timekeeping in INDI and KStars' in the forum. 3 weeks ago

OK, I just played with this a bit and see two problems (this is on Mac).

1. If you bring up the Set Time panel in KStars and choose "Now", it sets the time in the panel to current time. But the actual chart time is not changed until you click OK. This always results in the chart time being a second or two behind the computer's time.

2. If you put the Mac to sleep (or let it go to sleep), when you wake it up again the chart time has not advanced since it went to sleep. It will keep advancing at 1 second per second, but it will be off by the amount of time sleeping.

Both these problems indicate a fundamental problem in how KStars keeps time. When you click the Now button in the Set Time panel, this should set a "realtime" mode. When in this mode the time should always be obtained from the system clock (or wherever you've specified the time to come from). KStars should not be trying to keep it's own version of time unless you have explicitly changed the it from "realtime".

Read More...