[Bug 292345] New: Viewing next message with IMAP often takes a long time after skipping some

Alex Richardson alex.richardson at gmx.de
Tue Jan 24 18:20:11 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=292345

           Summary: Viewing next message with IMAP often takes a long time
                    after skipping some
           Product: kmail2
           Version: 4.8
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: alex.richardson at gmx.de


Version:           4.8 (using Devel) 
OS:                Linux

I usually read all my mails on my (googlemail)-IMAP Account by just pressing
Num+ to get the next message.

When I press Num+ again before the next message has loaded (e.g. because the
whole thread doesn't interest me) at least once it often happens that the
message which is now selected  takes a long time to load (1 minute or more if
the number of skipped messages is large).

I noticed that akonadi_imap_resource was writing at ~40-80 KByte/s for a while,
every now and then mysqld would write ~800KByte/s for 1-2 seconds.

Maybe it is an issue with marking all the skipped messages as read, because in
the UI they stay unread until the currently selected message actually loads.

Maybe akondi is trying to fetch the messages from the server and does not
continue to the next until the current one is fetched. If that is the case IMO
it should just mark those messages as read and not bother fetching them at all.

Reproducible: Sometimes

Steps to Reproduce:
1. Open an IMAP folder in KMail which has some unread messages
2. Press next message a few times
3. wait until the selected message is displayed in KMail

Actual Results:  
It takes quite a long time until the desired message is shown. I am not sure if
it is proportional to the number of skipped messages.

Expected Results:  
The selected message should appear within a short time (preferably less than 2
seconds)

OS: Linux (x86_64) release 3.1.0-1.2-desktop
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list