Bug 168368 - tab characters are not copyable with mouse
Summary: tab characters are not copyable with mouse
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 240929 439124 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-04 22:40 UTC by Arkadiusz Miskiewicz
Modified: 2023-07-28 00:32 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
copy tabs with mouse (696 bytes, patch)
2008-08-04 22:43 UTC, Arkadiusz Miskiewicz
Details
Patch to allow copy of tabs (862 bytes, patch)
2009-03-15 21:12 UTC, Kurt Hindenburg
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***