I copy the bugreport from the Debian BTS (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416713\) here and attach the proposed fix:
***
When starting this dockapp, the initial display of the metar info is sometimes delayed, even if the metar info is already downloaded. This delay is around 30 seconds or so, which is quite annoying. A user can workaround this by clicking on "forecast" and back to "current", but this is also annoying.
The reason is that the program remembers the time of the last update of the weather information (in variable 'current.last_update') and also the last update of the output (in variable 'last_time'). The purpose is that
in cycles of around 3 seconds, the display is refreshed only when both variables differ. When the program is fired up, the initial data structure 'current' is initialized (which sets 'current.last_update' to
current system time) and the initial output is of course empty (no info downloaded yet) but already sets last_time also to the current system time. As soon as the first download is completed, the parsing sets
'current.last_update' again to the system time. But since the resolution of this is only seconds, this could happen in the same second as the program start, resulting in missing refresh of the display, which in turn results in waiting for the next data refresh.
I attach a quick fix to this, which just sets 'current.last_update' to 0 when the metar data is initialized at program start. I submit this also
upstream. In case he has some better solution within a week or so, I'll include this into the package, otherwise I'll take the attached fix.
Thanks for considering.
Best regards,
Martin
proposed fix