After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776309 - Support fetching and persisting IMAP BODYSTRUCTURE
Support fetching and persisting IMAP BODYSTRUCTURE
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: engine
master
Other Linux
: Normal enhancement
: 0.14.0
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks: 714061 714094 777118 777119
 
 
Reported: 2016-12-20 13:08 UTC by Michael Gratton
Modified: 2019-06-02 10:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gratton 2016-12-20 13:08:43 UTC
Despite the fixes for Bug 714317, fetching PREVIEW without also downloading the complete message is still rather broken. To fix it properly, we need to have the IMAP BODYSTRUCTURE on hand, so we know the content type and structure of the message's parts in advance, and hence can actually target the correct part.

In addition, having this would allow us in the future to optionally/incrementally download body parts for e.g. lazily fetching bodies and attachments (Bug 714094).

I'm not sure when is the best time to fetch it though. We could make it a requirement of ImapDB.Folder, in which case we'll be able to examine the structure from the get-go, or we could let the conversation list require it, so when it makes its second pass to update the preview, it will at least be able to properly request the preview.
Comment 1 Michael Gratton 2018-06-26 04:47:55 UTC
Bump tickets to 0.14 that aren't going to make 0.13.
Comment 2 Michael Gratton 2019-06-02 10:21:41 UTC
Closing this in favour of https://gitlab.gnome.org/GNOME/geary/issues/453