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 204137 - Evolution: Can't read email attachement if the attachment is an email
Evolution: Can't read email attachement if the attachment is an email
Status: RESOLVED DUPLICATE of bug 201587
Product: evolution
Classification: Applications
Component: Mailer
unspecified
Other All
: Normal major
: ---
Assigned To: Peter Williams
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2001-07-06 11:47 UTC by Anton J Aylward
Modified: 2005-11-20 01:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
THis does not show the 'paperclip' icon in the message list (31.50 KB, X-Application/message)
2001-07-09 20:40 UTC, Anton J Aylward
Details
Saved under linux/evolution. Thas attachements but shows no paperclip (6.28 KB, text/plain)
2001-07-09 21:03 UTC, Anton J Aylward
Details

Description Anton J Aylward 2001-07-06 11:47:36 UTC
Package: Evolution
Priority: Normal
Version: 0.10
Synopsis: Evolution: Can't read email attachement if the attachment is an email
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer

Description:
In the mail reader, with a mail message that has an attachment which is
 itself a mail message.
The attachement icon has a popup with three choices:
	Save to disk
	Open in external viewer
	view inline

'Save to disk' works.
'View inline' works, but there is no way to turn it off other than changing the
selection in the message list window.
However 'open in external viewer' cannot be selected.

If this is because no external viewer has been configured, then where is
the viewer configured?

Meta question: Where is the functioning of the handling of attachements 
specified in a coplete and definitive form that can be verified against 
compliance?






Comment 1 Peter Williams 2001-07-09 20:16:27 UTC
This works for me. Is the attached message signed or encrypted? If
it's not sensitive please attach it to this bug.

As for the meta-question, mail-format.c contains this code. It's hard
to get more specific.
Comment 2 Anton J Aylward 2001-07-09 20:40:10 UTC
Created attachment 39980 [details]
THis does not show the 'paperclip' icon in the message list
Comment 3 Anton J Aylward 2001-07-09 21:03:41 UTC
Created attachment 39981 [details]
Saved under linux/evolution.  Thas attachements but shows no paperclip
Comment 4 Peter Williams 2001-07-10 14:42:38 UTC
1. I get the paper clip. I believe a bug related to this was fixed
recently so you might want to try using the latest round of snapshots

2. (Technical notes) The reason that the attachment popup menu widget
disappears is because mail-display.c:inline_cb and button_press toggle
the disposition of the attachment from "attachment" to "inline" and
queue a redisplay. The display is rebuilt and the mail code, seeing
that the attached message is inline, displays it that way without the
popup widget.

Solutions... I'm not fond of how mail-display.c just changes the
disposition of the attachment. Maybe create a hashtable or perform a
gtk_object_set_data that stores a boolean "expanded" state; initialize
it from the attachment disposition, but then toggle that. Then we can
use the disposition and the "expanded" state to determine whether to
add the attachment header or not.
Comment 5 Peter Williams 2001-07-10 18:06:23 UTC
The part of this that is still a bug is basically 1587.

*** This bug has been marked as a duplicate of 201587 ***