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@kde.org
        ReportedBy: dvk...@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.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to