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 312545 - replying to attached messges doesn't quote any content
replying to attached messges doesn't quote any content
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Srinivasa Ragavan
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-08-04 08:13 UTC by Not Zed
Modified: 2013-09-13 00:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed Patch (4.00 KB, patch)
2005-08-09 09:14 UTC, Srinivasa Ragavan
needs-work Details | Review
reworked patch (4.51 KB, patch)
2005-08-09 16:56 UTC, Srinivasa Ragavan
rejected Details | Review
reworked patch with changelogs (5.82 KB, patch)
2005-08-10 07:54 UTC, Srinivasa Ragavan
reviewed Details | Review
this should apply (6.04 KB, patch)
2005-08-11 05:05 UTC, Srinivasa Ragavan
accepted-commit_now Details | Review

Description Not Zed 2005-08-04 08:13:12 UTC
Please describe the problem:
If you have a message attached to a message, when you reply to it, it no longer
quotes the content of the attached message.

Because the attachment-bar code modifies the message parts - by adding filenames
- the 'is this an attachment so shouldn't be quoted' logic doesn't quote the
content.


Steps to reproduce:
forward a message to yourself, then reply to the message attachment using the
popup menu.


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Srinivasa Ragavan 2005-08-09 09:14:23 UTC
Created attachment 50446 [details] [review]
Proposed Patch
Comment 2 Not Zed 2005-08-09 09:20:06 UTC
dont check before calling g_free, it already does it, you do this in several places:

+		if (new->file_name)
+			g_free (new->file_name);

otherwise: no changelogs.

please re-submit a new patch.
Comment 3 Srinivasa Ragavan 2005-08-09 16:56:36 UTC
Created attachment 50479 [details] [review]
reworked patch

I have done the change. Ill add the changelog while commiting.
Comment 4 Not Zed 2005-08-10 02:01:49 UTC
sorry, changelogs are required as part of teh patch
Comment 5 Srinivasa Ragavan 2005-08-10 07:54:02 UTC
Created attachment 50498 [details] [review]
reworked patch with changelogs
Comment 6 Not Zed 2005-08-11 04:30:16 UTC
I dont know how you generated it but it wont apply.

make sure you diff from the root of the source tree.

e.g.

cvs diff mail widgets/misc > 312545.diff


Comment 7 Srinivasa Ragavan 2005-08-11 05:05:14 UTC
Created attachment 50553 [details] [review]
this should apply
Comment 8 Not Zed 2005-08-12 04:13:12 UTC
thanks, seems to do the job, please commit.

Can you look at fixing these warnings sometime?  \ doesn't escape %, PLEASE read
the printf man page ...

e-attachment-bar.c: In function `update_remote_file':
e-attachment-bar.c:432: warning: unknown conversion type character `)' in format

	base = g_path_get_basename(attachment->file_name);
	msg = g_strdup_printf("%s (%d\%)", base, attachment->percentage);
	g_free(base);

and:

e-attachment.c: In function `download_to_local_path':
e-attachment.c:365: warning: passing arg 8 of `gnome_vfs_async_xfer' from
incompatible pointer type
e-attachment.c:721:2: warning: #warning "signal connect while alive" 
Comment 9 Srinivasa Ragavan 2005-08-16 05:26:58 UTC
committed to head
Comment 10 C Shilpa 2005-09-09 06:00:23 UTC
verified using evolution-2.4.0.