Immediate refresh weather data on startup
ClosedPublic

Authored by wreissenberger on Oct 19 2019, 8:27 AM.

Details

Summary

Depending on the refresh period of an INDI weather driver it could take a while until the first data point is received. Until this happens, the list of sensors remains empty.
To avoid this, an immediate refresh is called when the display is initialized.

Additionally, some UI optimizations have been added:

  • Splitter between dome and weather display added
  • When only one data point is available in the history, a dot is displayed
Test Plan

Use the openweathermap INDI driver and observe, that with this fix the sensor data is immediately present

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
wreissenberger created this revision.Oct 19 2019, 8:27 AM
Restricted Application added a project: KDE Edu. · View Herald TranscriptOct 19 2019, 8:27 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
wreissenberger requested review of this revision.Oct 19 2019, 8:27 AM
mutlaqja accepted this revision.Oct 20 2019, 8:06 AM
This revision is now accepted and ready to land.Oct 20 2019, 8:06 AM

Great, the weather view would surely be the highlight of the next KStars v3.3.7 release!

This revision was automatically updated to reflect the committed changes.