(*** This bug was imported into bugs.kde.org ***) Package: knode Version: 0.6.1 (using KDE 2.2.2 ) Severity: normal Installed from: SuSE Compiler: gcc version 2.95.2 19991024 (release) OS: Linux (i586) release 2.2.19 OS/Compiler notes: Cosmetic bug only. Sometimes Knode reports a number of unread articles in a group - even though none are visible with the "threads with unread" filter is selected. The problem goes away when the "all" filter is used and the ignored threads are unignored then reignored. (Submitted via bugs.kde.org) (Called from KBugReport dialog)
This problem is still present in the current CVS version of knode. The problem lies in KNArticleWidget as it contains a timer (t_imer) which when it times out causes the decrementation of the no of acticels read counter. However if you select an article, and then before the timer time's out you select another article, the timer gets reset. The following patch works but may not be the correct solution. Basically if the timer is still active then stop it and call by hand the method which would be called if the timer had finished. Index: knarticlewidget.cpp =================================================================== RCS file: /home/kde/kdenetwork/knode/knarticlewidget.cpp,v retrieving revision 1.139 diff -u -3 -p -u -r1.139 knarticlewidget.cpp --- knarticlewidget.cpp 19 Sep 2002 20:53:37 -0000 1.139 +++ knarticlewidget.cpp 29 Sep 2002 02:13:45 -0000 @@ -875,6 +875,10 @@ void KNArticleWidget::updateContents() void KNArticleWidget::setArticle(KNArticle *a) { + if ( t_imer -> isActive() ) { + t_imer->stop(); + slotTimeout(); + } if(a_rticle && a_rticle->isOrphant()) delete a_rticle; //don't leak orphant articles @@ -883,7 +887,6 @@ void KNArticleWidget::setArticle(KNArtic r_ot13=false; a_ctToggleRot13->setChecked(false); - t_imer->stop(); if(!a) showBlankPage();
*** Bug 31719 has been marked as a duplicate of this bug. ***
Fixed in CVS
sorry, this patch doesn't fix the problem
Christian suggests that this is a "misfeature" :) I tend to agree - based on my own usage. Christian also suggests that this feature is removed in KDE 3.2 which seems reasonable.
Was this done for 3.2?
still actual for 0.10.5 (kde 3.5.8). at least debian/ubuntu are affected.
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.