Bug 271649 - apper does not obey update interval
Summary: apper does not obey update interval
Status: RESOLVED FIXED
Alias: None
Product: apper
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 22:26 UTC by S. Burmeister
Modified: 2012-06-11 12:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2011-04-24 22:26:01 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

I have set .kde4/share/config/KPackageKit (there is no apperrc) to:

[CheckUpdate] 
autoUpdate=0  
interval=xyz

If I use xyz=100, 150 or 900 it checks ~every six minutes.

The GUI shows the correct time, i.e. 100 = 100 seconds etc.

If I change xyz to 3600 it checks every 30 minutes.

The first check seems to always happen after 6 minutes, which is too late IMHO.

Enabling debugging does not help. So I think it would be helpful in the first place to get some debug-output (I compiled with debugfull) that indicates when apper checks for updates, when it did last time and when it will do it again.

Further it would be helpful to show in debug output what result it got, i.e. whether there were updates available or not etc.

Reproducible: Always
Comment 1 Martin Kho 2012-02-18 13:04:43 UTC
Hi,

I'm using git version as of 20120217. This issue is still present. Choosing an interval (via the kcm_module Software Management) of hourly, daily etc. all make apper wakeup at intervals of ~5 to 10 minutes. Disable / enable the apper monitor in the Service Manager (in Systemsetting) temporary 'solves' the issue. For your reference, in Redhat's bugzilla is a report [1] that can give you maybe more information.

Martin Kho

[1]https://bugzilla.redhat.com/show_bug.cgi?id=752564
Comment 2 Martin Kho 2012-02-18 13:06:31 UTC
Hi.

Forgot to say that I'm using kde 4.8.0

Martin Kho
Comment 3 Martin Kho 2012-04-16 21:32:57 UTC
Hi,

commit: bfa0b337ae0c3efb08c9075af671be4371d4627f [1] solved my issue

[1] http://quickgit.kde.org/index.php?p=apper.git&a=commit&h=bfa0b337ae0c3efb08c9075af671be4371d4627f

Thanks,

Martin Kho
Comment 4 Rex Dieter 2012-04-19 12:54:03 UTC
Martin did some more analysis, and offered a patch which does look promising,
https://bugzilla.redhat.com/attachment.cgi?id=578566

(see also his full downstream comment,
https://bugzilla.redhat.com/show_bug.cgi?id=752564#c48)
Comment 5 Daniel Nicoletti 2012-05-29 00:29:48 UTC
it should be fixed in last version 0.7.2
thanks
Comment 6 Martin Kho 2012-06-11 12:32:12 UTC
Hi Daniel,

I can confirm that this issue is fixed.

Thanks,

Martin Kho