Bug 24516 - pop3 kio slave reports wrong directory count
Summary: pop3 kio slave reports wrong directory count
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: pop3 (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Don Sanders
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-21 21:48 UTC by Unknown
Modified: 2007-12-10 21:37 UTC (History)
1 user (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 Mike Rolig 2001-04-21 21:43:55 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kio-pop3
Version:           unknown (using KDE 2.1.1 )
Severity:          normal
Installed from:    Debian Package 4:2.1.1-7 (testing/unstable)
Compiler:          gcc version 2.95.3 20010315 (Debian release)
OS:                Linux 2.4.3 i686
OS/Compiler notes: 

Using the following code the count reported by a dirLister continually increases even with a single message on the pop3 server.  If you use this against a server with a single message in the mail box the number printed to stdout will continually increase by one.  The same code works with other urls like imap and has a stable count reported.

class testclass: public QObject
{
Q_OBJECT;
public:
  KDirLister* dirLister;
  testclass()
  {
    dirLister = new KDirLister(true);
    connect(dirLister SIGNAL(completed())
        SLOT(finishedListing()));
    dirLister->openURL("pop3://pop3.macalester.edu/" false);
  }
 
public slots:
  void finishedListing()
  {
    cout << "finished: " << dirLister->items().count() << endl;
    dirLister->updateDirectory("pop3://pop3.macalester.edu/");
  }
};

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Stephan Kulow 2004-05-18 17:31:39 UTC
Replaced mike.rolig@writeme.com with null@kde.org due to bounces by reporter
Comment 2 George Goldberg 2007-11-08 07:53:39 UTC
Is this bugs still present in a recent version of KDE, such as 3.5.8?
Comment 3 J Appel 2007-12-10 21:37:02 UTC
As proposed on http://techbase.kde.org/Contribute/Bugsquad/Bugs_to_be_done this bug is marked as closed (no response within 30 days). If the problem still exists please re-open.