Bug 339791

Summary: pasting more than 8k of plain text into console results in lost data
Product: [Applications] konsole Reporter: Vadym Krevs <vkrevs>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aspotashev, egmont, marcorichetta
Priority: NOR Keywords: investigated, triaged
Version: 2.14.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vadym Krevs 2014-10-08 15:05:03 UTC
1. Create a text file that contains more than 8k of text, e.g.,
i=0; while [[ $i -lt 90 ]]; do 
echo 123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789 >> /tmp/xxx.txt; 
i=`expr $i + 1`; 
done

2. Open the file in Kate and select al text via Ctrl-A, Ctrl-C

3. Go back to console and type the following line, hit Enter
cat <<EOF >>/tmp/yyy.txt

4. Press Shift-Ctrl-V to paste into konsole.
5. Type EOF.

6. Compare the /tmp/xxx.txt  and /tmp/yyy.txt files in any diff viewer.

They are not the same.


Reproducible: Always



Expected Results:  
xxx.txt and yyy.txt are identical.
Comment 1 Egmont Koblinger 2015-01-13 12:40:30 UTC
This is probably a kernel limitation/bug, see https://bugzilla.gnome.org/show_bug.cgi?id=539312
Comment 2 Vadym Krevs 2015-01-13 13:57:58 UTC
The problem is that this never used to happen in konsole before I reported the bug.
Comment 3 Marco Richetta 2018-10-30 15:33:50 UTC
Hi, I'm from the Bugsquad team and we are triaging bugs on Konsole today.
Thanks for reporting the bug.

Application Version: 17.12.3
KDE Plasma Version: 5.12.6
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

I followed the steps and diff showed the files are the same.
Is this still happening on your system?

Thanks.
Comment 4 Vadym Krevs 2018-10-30 16:06:58 UTC
no
Comment 5 Marco Richetta 2018-10-30 18:46:43 UTC
(In reply to Vadym Krevs from comment #4)
> no

Thanks for the feedback Vadym.
I'll leave this as RESOLVED because it seems fixed.
On the mean time, we should wait a developer to see the bug and decide on its status.