Bug 319398 - IMAP resource fetches messages from older to newer, demanding a lot of time to usable Kmail
Summary: IMAP resource fetches messages from older to newer, demanding a lot of time t...
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.10
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-06 06:36 UTC by Cochise César
Modified: 2017-08-22 13:12 UTC (History)
4 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 Cochise César 2013-05-06 06:36:45 UTC
I have some years old Gmail accounts with GBs of messages. When I configure in Kmail, the fetch order is from older to newer, them I have to wait a long time before to get my last messages.
I don't tested the behavior with other mail resources, like POP3.


Reproducible: Always
Comment 1 Cochise César 2013-05-06 07:13:29 UTC
Additional information

This behavior only happens if inscription (Or subscriptions. My KDE is localized) in the server are enabled.
Comment 2 Kevin Ottens 2013-11-16 07:27:29 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 3 Christian Mollekopf 2013-12-03 17:42:52 UTC
This would require downloading the messages in batches, starting with the highest UID first.
Comment 4 Erik Quaeghebeur 2017-08-22 13:12:33 UTC
(In reply to Christian Mollekopf from comment #3)
> This would require downloading the messages in batches, starting with the
> highest UID first.

From the IMAP-perspective, only (part of) the headers and MIME structure of the mails need to be fetched first; the MIME payloads can be fetched later, even as-needed (this is how pure IMAP clients such as Trojita do it). For that the akonadi database needs to be able to store such partial fetches.