Bug 217994 - not able to manage subscriptions when more than 1000 folders are available
Summary: not able to manage subscriptions when more than 1000 folders are available
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 14:51 UTC by sebastia
Modified: 2015-04-12 09:42 UTC (History)
2 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 sebastia 2009-12-09 14:51:54 UTC
Version:           KMail 1.12.4 release 2 (using KDE 4.3.4)
OS:                Linux
Installed from:    openSUSE RPMs

Hi,

I have a cyrus-imapd-2.2.12-27.11 running on the server. Many of our users have a problem to manage subscriptions via kmail.
What all of the users have in common is that the amount of folders in the list of folders that they can subscribe to is more than 1000.

problem happens with the following versions:
OpenSUSE 10.2, KDE 3.5.9, KMail 1.9.9 release 57.3
OpenSUSE 11.1, KDE 3.5.10, KMail 1.9.10 release 21.9
OpenSUSE 11.1, KDE 4.3.4, KMail 1.12.4 release 2
OpenSUSE 11.2, KDE 4.3.1, KMail 1.12.2 release 6

when opening the subscription dialog the following output is shown on the console:
QObject::connect: No such slot KMail::SubscriptionDialog::processItems()

I did the following test to verify: 
removing permissons on some folders for one of the problematic account to have fewer than 1000 folders in the list
opening the kmail subscription dialog, and the user was able again to manage the subscriptions.

Thunderbird has no problem to manage subscriptions for more than 1000 available folders.

Sebastian
Comment 1 sebastia 2009-12-09 14:56:57 UTC
forgot to mention: comment #32 to bug #117991 proposes a quick solution:

http://bugs.kde.org/show_bug.cgi?id=117991#c32
Comment 2 Björn Ruberg 2009-12-24 14:53:22 UTC
Well, the patch just increases the number to 10000. No good solution.
Comment 3 Angelika Schulz 2010-01-06 10:18:58 UTC
Hi there,

(In reply to comment #2)
> Well, the patch just increases the number to 10000. No good solution.

What would happen if you just leave the whole if block out? I tried it and everything worked quite fine with my own system. All folders had been shown correctly, marks appeared correctly and I had been able to subscribe and unsubscribe again. It did not get overwhelmingly slow .. but ok, I tried an account with access to 1200 folders only.

Another idea would be to find a way to make a short break after each 500 folders, redraw the window and go on ... Is there such a possibility? I mean ... actually it counts up to 1000, sends change information and stops immediately .. 

// give the dialog a chance to repaint
    /*if (done == 1000)
    {
      emit listChanged();
      QTimer::singleShot(0, this, SLOT(processItems()));
      return;
    }*/

The funny thing is - the error message kmail throws when started from the command line... saying something about "No such slot" .. 

Bye,
Angie.
Comment 4 Laurent Montel 2015-04-12 09:42:15 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.