Bug 280801
| Summary: | Evolution shows attachment icon even if there's isn't any | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Babej <mbabej> |
| Component: | evolution | Assignee: | Matthew Barnes <mbarnes> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7 | CC: | desktop-bugs, mcrha, smohan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-12 10:58:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michal Babej
2007-09-06 15:43:12 UTC
Can you post an mbox file containing such an email? Thanks Michal, easily reproducible.
I found the logic that decides whether to display the icon:
ml_tree_value_at() (in message-list.c):
case COL_ATTACHMENT:
return GINT_TO_POINTER (
(camel_message_info_flags(msg_info) &
CAMEL_MESSAGE_ATTACHMENTS) != 0);
It's just checking a flag, so that's okay. The bug, then, must be in Camel.
I'll keep digging...
You're right, Camel is just setting the CAMEL_MESSAGE_ATTACHMENTS flag based on whether the MIME type is "multipart/mixed" (in camel-folder-summary.c). I guess it should also check whether the number of parts is > 1. I need to consult with upstream. Moving this upstream to bug [1]. We will track it there. [1] http://bugzilla.gnome.org/show_bug.cgi?id=478239 |