[konsole] [Bug 489882] New: Konsole leaves behind old characters in text/html clipboard

Thomas Lindroth bugzilla_noreply at kde.org
Sun Jul 7 16:31:43 BST 2024


https://bugs.kde.org/show_bug.cgi?id=489882

            Bug ID: 489882
           Summary: Konsole leaves behind old characters in text/html
                    clipboard
    Classification: Applications
           Product: konsole
           Version: 23.08.5
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: thomas.lindroth at gmail.com
  Target Milestone: ---

If I select the text "1234" in Konsole and run "xclip -out -target text/html" I
get the following output:
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">1234</span><br></span>

That is correct, but if I now select a single double-width character such as
the Japanese character "私" and run xclip again I get this:
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">私2</span><br></span>

The number "2" now appears after "私". This number is left behind from the
previous clipboard entry because Konsole gets confused about the length of the
clipboard when it contains double-width characters.

I am running Konsole 23.08.5 with Qt 5.15.14 on X11 Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list