By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2728 - KWeather applet is not updated automatically
Summary: KWeather applet is not updated automatically
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdeaddons (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Slávek Banko
URL:
Depends on:
Blocks: R14.0.5
  Show dependency treegraph
 
Reported: 2016-11-15 23:16 CST by Mingcong Bai
Modified: 2016-11-27 19:00 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mingcong Bai 2016-11-15 23:16:55 CST
While the KWallet panel applet could provide me with accurate information, it does not seem to update on its own. If I right click on the applet and select "Update Now", the weather information does update, but always seems to show update time of 53th minute of any given hour.

And here below is my weather log so far - created by KWeather.

Date,Wind Speed & Direction,Temperature,Pressure,Cover,Visibility,Current Weather
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 20:53,0 km/h ,5°C,1011 hPa,Broken clouds at 6096 meters,16km,
Tuesday 15 November 2016 21:53,0 km/h ,5°C,1010 hPa,Broken clouds at 7010 meters,16km,
Tuesday 15 November 2016 21:53,0 km/h ,5°C,1010 hPa,Broken clouds at 7010 meters,16km,
Tuesday 15 November 2016 21:53,0 km/h ,5°C,1010 hPa,Broken clouds at 7010 meters,16km,
Tuesday 15 November 2016 21:53,0 km/h ,5°C,1010 hPa,Broken clouds at 7010 meters,16km,
Tuesday 15 November 2016 21:53,0 km/h ,5°C,1010 hPa,Broken clouds at 7010 meters,16km,
Tuesday 15 November 2016 21:53,0 km/h ,5°C,1010 hPa,Broken clouds at 7010 meters,16km,
Tuesday 15 November 2016 21:53,0 km/h ,5°C,1010 hPa,Broken clouds at 7010 meters,16km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,
Tuesday 15 November 2016 22:53,0 km/h ,3.9°C,1011 hPa,Few clouds at 7620 meters,12.8km,


It's quite obvious that KWeather did attempt to update, but never actually updated unless I click "Update Now".
Comment 1 Slávek Banko 2016-11-19 08:59:01 CST
The problem occurs on both amd64 and ppc64el?
Comment 2 Mingcong Bai 2016-11-19 09:56:26 CST
(In reply to Slávek Banko from comment #1)
> The problem occurs on both amd64 and ppc64el?

I do apologize.

I meant to reply with an update that the weather applet does update the weather info, just with a bit of a delay.

However, there are still two issues here:

1. Multiple entry of the same content was logged into the weather log.
2. Given 1, how about an option to allow for changing update interval (or is it the fact that the weather provider simply does not update any more frequently than once an hour?).
Comment 3 Slávek Banko 2016-11-21 11:14:20 CST
(In reply to Mingcong Bai from comment #2)
> (In reply to Slávek Banko from comment #1)
> > The problem occurs on both amd64 and ppc64el?
> 
> I do apologize.
> 
> I meant to reply with an update that the weather applet does update the
> weather info, just with a bit of a delay.
> 
> However, there are still two issues here:
> 
> 1. Multiple entry of the same content was logged into the weather log.
> 2. Given 1, how about an option to allow for changing update interval (or is
> it the fact that the weather provider simply does not update any more
> frequently than once an hour?).

Yes, I think that is common when the weather information is not updated very often. I observed that the updates are more frequent, if some events are current - for example, rain, thunderstorms,... That would explain why during the update KWeather may be weather information unchanged. For example, right now I have an update from the provider after 40 minutes.

It seems that the bug report can be closed. What is your opinion?
Comment 4 Mingcong Bai 2016-11-21 12:45:25 CST
(In reply to Slávek Banko from comment #3)
> (In reply to Mingcong Bai from comment #2)
> > (In reply to Slávek Banko from comment #1)
> > > The problem occurs on both amd64 and ppc64el?
> > 
> > I do apologize.
> > 
> > I meant to reply with an update that the weather applet does update the
> > weather info, just with a bit of a delay.
> > 
> > However, there are still two issues here:
> > 
> > 1. Multiple entry of the same content was logged into the weather log.
> > 2. Given 1, how about an option to allow for changing update interval (or is
> > it the fact that the weather provider simply does not update any more
> > frequently than once an hour?).
> 
> Yes, I think that is common when the weather information is not updated very
> often. I observed that the updates are more frequent, if some events are
> current - for example, rain, thunderstorms,... That would explain why during
> the update KWeather may be weather information unchanged. For example, right
> now I have an update from the provider after 40 minutes.
> 
> It seems that the bug report can be closed. What is your opinion?

Okay that makes sense.

Could it be done so that:

- It won't write duplicate entries of weather information.

or...

- It write the real "time" in the log instead of posting the same time across multiple lines: that's just kind of confusing...
Comment 5 Slávek Banko 2016-11-21 12:57:46 CST
(In reply to Mingcong Bai from comment #4)
> (In reply to Slávek Banko from comment #3)
> > It seems that the bug report can be closed. What is your opinion?
> 
> Okay that makes sense.
> 
> Could it be done so that:
> 
> - It won't write duplicate entries of weather information.
> 
> or...
> 
> - It write the real "time" in the log instead of posting the same time
> across multiple lines: that's just kind of confusing...

Yes, you're right - in the log should be both - time information of KWeather update and also time information of update by provider.
Comment 6 Slávek Banko 2016-11-27 19:00:42 CST
Proposed improvement was realized in GIT commit 8aedce54 (master) and 90fee640 (r14.0.x).

Thank you for your insights and suggestions!