Version: 1.13.5 (using KDE 4.5.4) OS: Linux When a pattern of text is copied from Kmail message window into the buffer, and then inserted into an application, html code appears instead of the plain text. It happens not only for HTML messages, but also for plain-text messages if the option "Prefer HTML to plain text" is selected in Settings. Reproducible: Always Steps to Reproduce: 1. Open an HTML message in Kmail. 2. Select some word or pattern of text with the mouse. 3. Ctrl-C 4. Paste the buffer in Kwrite. Actual Results: HTML code is pasted in Kwrite: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <body>This is a plain text message, folks!</body> Expected Results: The selected pattern of plain text should be pasted. Actually, I don't know which KDE component (I marked GUI) causes this html-ization. Interesting, plain old-style X-windows middle-mouse insertion works! I suggest to those who wish to copy text from Kmail to some other app to use middle mouse for pasting text, as a temporary workaround. I'm pretty sure this behaviour is a regression but I cannot tell when it happened. I don't think this bug can be classified as Major since it does not cause an immediate data loss of hardware damage. I would label it as _shameful_ :) PIM application should work with text flawlessly. Otherwise, it is not a PIM/Office application.
I have just discovered a previous bug report 259468 dealing with similar issue. *** This bug has been marked as a duplicate of bug 259468 ***
BTW, this bug manifest itself when Kmail runs on either Gnome or KDE. No difference.