Bug 168368

Summary: tab characters are not copyable with mouse
Product: [Applications] konsole Reporter: Arkadiusz Miskiewicz <arekm>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: adaptee, darkbasic, eugene, greg.martyn, jefg, kbloom, matthew.levi12, philspam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: copy tabs with mouse
Patch to allow copy of tabs

Description Arkadiusz Miskiewicz 2008-08-04 22:40:02 UTC
Version:            (using KDE 4.1.0)
Installed from:    Unlisted Binary Package
Compiler:          4.3.1 
OS:                Linux

Tabs in konsole are rendered as spaces and thus you can use mouse to copy and paste tab characters under X Windows.

Example:
echo -e "a\t\b"
try to copy result of that with mouse and then paste back to some editor. Spaces will be copied instead of tabs.
Comment 1 Arkadiusz Miskiewicz 2008-08-04 22:43:14 UTC
Created attachment 26636 [details]
copy tabs with mouse

This patch is for KDE 3.5 and allows tab characters to be copied and pasted
using mouse under X window.

Additionaly tab when selected is copied as single character instead of multiple
characters.

Fix idea came from gnome-terminal:
http://bugzilla.gnome.org/show_bug.cgi?id=353610
Comment 2 Kurt Hindenburg 2009-03-15 21:12:40 UTC
Created attachment 32149 [details]
Patch to allow copy of tabs

Here's the above patch for trunk.  It applies but doesn't actually work as expected.
Comment 3 Jekyll Wu 2011-07-25 09:35:55 UTC
This wishlist seems a bit overkill :)

None of xterm, xfce4-terminal, rxvt-unicode support that. gnome-terminal-3.0.1 does not, either, although its bugzilla record claim it does.
Comment 4 Jekyll Wu 2011-07-30 18:34:13 UTC
(In reply to comment #3)
> 

My previous observation is mostly wrong. Just ignore that comment.
Comment 5 Jekyll Wu 2011-07-30 21:30:32 UTC
*** Bug 240929 has been marked as a duplicate of this bug. ***
Comment 6 ninjalj 2021-06-27 18:24:14 UTC
*** Bug 439124 has been marked as a duplicate of this bug. ***