Bug 436645

Summary: Selecting text on output of binary files changes text underneath selection visually
Product: [Applications] konsole Reporter: postix <postix>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate, p.r.worrall, postix
Priority: NOR    
Version: 21.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen recording
Screen recording 2

Description postix 2021-05-05 17:23:28 UTC
Created attachment 138176 [details]
Screen recording

SUMMARY

`cat /usr/bin/konsole`, hold the mouse down and select some text by moving the cursor around. You'll observe that the characters change like in the screen recording.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.12.0-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Comment 1 postix 2021-05-05 17:31:56 UTC
Created attachment 138177 [details]
Screen recording 2

As you can see in the recording, it seems that the line is too long to be shown completely and doesn't wrap.
When the end of the selection is set at some character, let's denote it here as * the text a few characters behind are moved just to the right of the character:

abcdef*ghijklmn --> abdef*klmnopq
Comment 2 Paul Worrall 2021-06-18 13:41:44 UTC
I can reproduce this, but I'm doubtful this is really a bug: if you try to render non-character data as characters on a terminal screen then you get what you get.  Changing the status accordingly.  If you disagree, please say why and change back to REPORTED.