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 777118 - Fetch preview assumes first MIME part is useful content
Fetch preview assumes first MIME part is useful content
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: engine
master
Other Linux
: Normal normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
: 779370 (view as bug list)
Depends on: 776309
Blocks:
 
 
Reported: 2017-01-11 02:33 UTC by Michael Gratton
Modified: 2019-06-02 10:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gratton 2017-01-11 02:33:36 UTC
Part of the cause of Bug 714317 was that when generating a preview when fetching a message from the server i.e. when Geary.Email.Field.PREVIEW is set, the code currently assumes the first part will contain useful content, and request's the fist Geary.Email.MAX_PREVIEW_BYTES worth of that. This is not always the case however as there may multipart containers, or GPG parts, etc.

To fix this, we need to know IMAP BODYSTRUCTURE in advance, so that determination can be made - i.e. Bug 776309.
Comment 1 Michael Gratton 2018-02-07 06:52:28 UTC
*** Bug 779370 has been marked as a duplicate of this bug. ***
Comment 2 Michael Gratton 2019-06-02 10:18:47 UTC
Closing this in favour of https://gitlab.gnome.org/GNOME/geary/issues/453