GNOME Bugzilla – Bug 554392
Evolution: Can copy/paste HTML checkboxes into plain text emails, and cannot undo this.
Last modified: 2010-02-02 00:42:44 UTC
Please describe the problem: Can copy/paste HTML checkboxes into plain text emails, and cannot undo this. Steps to reproduce: Steps to reproduce: 1) In firefox, open a web page with check boxes (e.g. http://www.javaworld.com/javaworld/jw-06-1996/javascript/form_check.html ) and do ctrl-a ctrl-c to copy the text to the clipboard. 2) In Evolution 2.22.3.1, go File -> New -> Mail Message. 3) Verify that Format -> HTML is not ticked (i.e. this a plain-text message). 4) In the new message's body, go Edit -> Paste. 5) Observe that HTML checkboxes and an HTML button are pasted into a plain text message. 6) Go Edit -> Undo. 7) Observe that the pasted text is undone, but that the pasted HTML checkboxes and an HTML button are not undone (i.e. they remain). Actual results: See steps 5) and 7) above for observed behaviour. Expected results: There are 2 bugs here: * Pasting into a plain-text email should paste only text, not HTML elements (i.e. step 5 above should not happen) - i.e. there should be no checkboxes pasted into plain text emails. * Undo should really undo. I.e. step 6 above should result in all pasted elements being undone. This bug also particularly applies if Format -> HTML is ticked (i.e. we are in HTML mode), in which case undo needs to work. I.e. the user should be able to undo all of paste into an HTML formatted email. Does this happen every time? Yes. Other information:
Closing this as a duplicate of bug #603715 for the first bug. The second bug about undo should be filed separately, but probably won't get anywhere since GtkHtml development has ceased. Hopefully WebKit will handle it better. *** This bug has been marked as a duplicate of bug 603715 ***
Thank you, completely happy with marking this as a dupe - paste as text should solve the data input part in 2.30, and WebKit sounds like a useful update in numerous ways.