Bug 519066 - Cut and paste to GNU screen is not reliable
Summary: Cut and paste to GNU screen is not reliable
Keywords:
Status: CLOSED DUPLICATE of bug 469890
Alias: None
Product: Fedora
Classification: Fedora
Component: screen
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-24 19:38 UTC by Toshio Ernie Kuratomi
Modified: 2009-09-01 11:33 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-01 11:33:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 286063 0 None None None Never

Description Toshio Ernie Kuratomi 2009-08-24 19:38:33 UTC
Description of problem:
Cutting and pasting text from the source view corrupts the paste on some websites.


Version-Release number of selected component (if applicable):

arora-0.8.0-1.fc11.i586
qt-4.5.2-2.fc11.i586
qt-x11-4.5.2-2.fc11.i586

How reproducible:

Seemingly everytime

Steps to Reproduce:
1. in arora, browse to https://fedoraproject.org/wiki/Fedora_Project_Wiki
2. View source (View::Page Source)
3. Ctrl-A Ctrl-C to select all and copy to clipboard
4. Go to a text editor and paste the text.  Save.
5. Open a new text editor window.  paste the text again.  Save as a different file.
6. Compare the two files. (using diff, kompare, etc)

You can repeat this several times and get different results each time.
  
Actual results:

The two text files differ

Expected results:

The same text file in each
Additional info:

Comment 1 Jaroslav Reznik 2009-08-25 08:03:32 UTC
What text editor do you use? I can't reproduce it, saved files are same. Tried in kwrite.

Comment 2 Toshio Ernie Kuratomi 2009-08-25 16:27:08 UTC
Sorry, it looks like a konsole bug.

I used vim.  In gvim and vim running in yakuake cut and paste from the source view to vim correctly produces the same output.  In vim running in konsole, the paste is corrupted.

[At the prompt type:]
$ vim t1
[Inside of vim type:]
:set paste
i
[paste from the source view]
[Hit the ESC key]
:wq
[At the command prompt again]
$ vim t2
[Inside of vim again]
:set paste
i
[paste from the source view]
[Hit the ESC key]
:wq

diff -u t1 t2

kdebase-4.3.0-1.fc11.i586
kdebase-libs-4.3.0-1.fc11.i586
vim-enhanced-7.2.148-1.fc11.i586
qt-4.5.2-2.fc11.i586

Comment 3 Jaroslav Reznik 2009-08-26 12:42:35 UTC
Still I can't reproduce it even in Konsole using Vim. I am going to close it some WORSFORME. If you find the way we can reproduce it, feel free to reopen this bug.

Comment 4 Toshio Kuratomi 2009-08-26 18:49:54 UTC
got it -- for those following at home, it's a long standing screen bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286063

Comment 5 Miroslav Lichvar 2009-09-01 11:33:15 UTC

*** This bug has been marked as a duplicate of bug 469890 ***


Note You need to log in before you can comment on or make changes to this bug.