Bug 140824 - Akregator Miscalculates Unread Articles
Summary: Akregator Miscalculates Unread Articles
Status: CONFIRMED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: 5.2.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 130752 134496 280850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-29 12:41 UTC by Christian Spitzlay
Modified: 2016-10-12 08:55 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenie that displays more unread articles than the counter says. (124.50 KB, image/png)
2007-01-29 12:44 UTC, Christian Spitzlay
Details
another example of bad summary numbers throughout akgregator (110.33 KB, image/png)
2007-01-30 20:01 UTC, Dmitry S. Makovey
Details
Wrong calculation of unread articles (234.24 KB, image/png)
2007-10-29 15:19 UTC, Marek Laane
Details
Negative numbers (screenshot) (5.26 KB, image/png)
2009-01-31 15:14 UTC, Davide Castellone
Details
attachment-26790-0.html (4.00 KB, text/html)
2016-10-05 01:04 UTC, f.feldner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Spitzlay 2007-01-29 12:41:56 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

Akregator displays a wrong count of unread messages for a group of feeds (please see the attached screenshot). The number is too low and the error carries over to the overall result that is displayed at the top level and in the systray. As a consquence, sometimes the icon doesn't notify me of unread messages even if there are some.

I've seen #107144 and #135170, but 
1.) they're both marked as fixed whereas my screenshot is from KDE 3.5.6
2.) they both mention negative numbers, while I don't see any on my system

So either the bug is still around, or mine is a different issue.

I'm on an up-to-date Kubuntu system (edgy) with the latest KDE packages from kubuntu.org.

> akregator -v
Qt: 3.3.6
KDE: 3.5.6
Akregator: 1.2.6

I'm not sure about how to reproduce the bug but what struck me was that the miscalculation happens with a family of feeds from dradio.de. I noticed that the entries in these feeds overlap sometimes so that items are not unique across feeds (one item may appear in more than one feed).  Maybe akregator is confused by this situation. But I'm just guessing ... 

Expected behavior:  Numbers that add up.  :)
Comment 1 Christian Spitzlay 2007-01-29 12:44:34 UTC
Created attachment 19469 [details]
Screenie that displays more unread articles than the counter says.
Comment 2 Dmitry S. Makovey 2007-01-30 20:01:46 UTC
Created attachment 19487 [details]
another example of bad summary numbers throughout akgregator

same here but it goes even further: un empty folders akregator shows bogus
number of unread feeds, and summary counters are all "out-of-sync":
Tray icon, summary for all feeds and per-folder numbering. Including summary
page that says in one pane: "no matches" and another pane says :"45.... unread
articles.

I also have noticed that in summaries sometimes it says: "1" for unread article
when using the filter on the right I can't find that article.
Comment 3 Marek Laane 2007-10-29 15:19:49 UTC
Created attachment 21938 [details]
Wrong calculation of unread articles

Same here - as you can see from screenshot, there is two unread articles but
count is zero. Of my feeds it happens only in case of Google News and FAZ
(Frankfurter Allgemeine Zeitung) feeds, all other have always been correct.
Mostly it does happen after one or two days non-interrupt work (but it happens
always, and for correcting Akregator has to be restarted)
Comment 4 FiNeX 2007-12-21 16:29:20 UTC
*** Bug 130752 has been marked as a duplicate of this bug. ***
Comment 5 FiNeX 2007-12-21 16:32:07 UTC
*** Bug 134496 has been marked as a duplicate of this bug. ***
Comment 6 Rich Johnson 2008-02-24 04:56:00 UTC
Any status on this issue?
Comment 7 Marek Laane 2008-03-07 01:44:24 UTC
As in 3.5.9, I've seen it over and over again...
Comment 8 Dirk Heinrichs 2008-03-07 11:50:24 UTC
I'm also seeing it 3.5.9. The total sum at the top is off by 1 sometimes.
Comment 9 Alexander Stein 2008-05-09 15:28:19 UTC
I can confirm that for 3.5.9. But after restarting the program (kontact in my case), all is fine.
Comment 10 Marek Laane 2008-06-13 23:25:53 UTC
You are laucky... I see bad count over and over again (KDE 3.5.9) and restarting helps at best only for a day or so, then the count will be wrong again.
Comment 11 Davide Castellone 2009-01-31 15:14:12 UTC
Created attachment 30782 [details]
Negative numbers (screenshot)
Comment 12 Davide Castellone 2009-01-31 15:14:40 UTC
Well, it works perfectly for me, except for Google News (whatever format, RSS or Atom): http://news.google.it/nwshp?hl=it&tab=wn&output=atom

If I select the "Mark articles as read when they arrive", I get negative numbers! Look at the attached screenshot for an example.

However, numbers are reset (to 0) when akregator is restarted.
Comment 13 Marek Laane 2009-03-13 11:08:00 UTC
Since KDE 4.2 I've no more experienced wrong count.
Comment 14 graham 2009-03-13 17:06:56 UTC
I can also confirm same; since upgrading to KDE-4.2, the counts are now *accurate*.

Hurray!!!
Comment 15 Marek Laane 2009-10-16 14:38:46 UTC
It still happens sometimes but much more rarely, maybe once in a week (I've Akregator open 24/7)
Comment 16 Maarten De Meyer 2012-11-14 12:16:49 UTC
*** Bug 280850 has been marked as a duplicate of this bug. ***
Comment 17 Maarten De Meyer 2013-02-19 12:46:30 UTC
(In reply to comment #15)
> It still happens sometimes but much more rarely, maybe once in a week (I've
> Akregator open 24/7)

You wrote that almost 4 years ago, have you seen any improvement?
I have never seen this bug. I also use akregator 24/7
Comment 18 Shawn 2015-03-07 13:16:40 UTC
I can confirm that this bug is still happening to me.  A restart does seem to correct it.  Not sure if it will go back to the incorrect count as others suggest or not.  I can report back if that would be helpful.
Comment 19 Denis Kurz 2016-09-24 19:39:17 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of akregator (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 20 f.feldner 2016-10-05 01:04:08 UTC
Created attachment 101425 [details]
attachment-26790-0.html

On Samstag, 24. September 2016 19:39:17 CEST you wrote:
> [akregator] [Bug 140824] Akregator Miscalculates Unread Articles


Akregator Version 5.2.3
KDE Frameworks 5.25.0
Qt 5.6.1
Das xcb Fenstersystem

In dieser Konfiguration zählt bei mir zu Hause der Akregator seit Jahren falsch; 
ich habe vor langer Zeit beschlossen, das nicht einmal zu ignorieren!
Ein Beispiel von jetzt eben:
   ungelesen  gesamt
   320        463      vor
   326        475      nach “fetch all feeds”.
  ( +3        +12 )
Comment 21 Denis Kurz 2016-10-12 08:55:30 UTC
Thank you for your feedback. I set the bug to confirmed again.