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 554392 - Evolution: Can copy/paste HTML checkboxes into plain text emails, and cannot undo this.
Evolution: Can copy/paste HTML checkboxes into plain text emails, and cannot ...
Status: RESOLVED DUPLICATE of bug 603715
Product: GtkHtml
Classification: Other
Component: Editing
3.18.x
Other All
: Normal normal
: ---
Assigned To: Srinivasa Ragavan
Srinivasa Ragavan
Depends on:
Blocks:
 
 
Reported: 2008-09-30 06:22 UTC by Nick Jenkins
Modified: 2010-02-02 00:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Nick Jenkins 2008-09-30 06:22:18 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:
Comment 1 Matthew Barnes 2010-01-17 19:36:46 UTC
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 ***
Comment 2 Nick Jenkins 2010-02-02 00:42:44 UTC
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.