[Bug 260313] New: Text copied to buffer from message window contains xhtml code
Dmitry
dvk222 at gmail.com
Thu Dec 16 19:40:33 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=260313
Summary: Text copied to buffer from message window contains
xhtml code
Product: kmail
Version: 1.13.5
Platform: Archlinux Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: GUI
AssignedTo: kdepim-bugs at kde.org
ReportedBy: dvk222 at gmail.com
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.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list