Version: unspecified (using KDE 4.5.1) OS: Linux When I try to copy text by highlighting within in any program then selecting some other text within that program or any other, then select text to be repalced with paste command it will not work. just copies text ......?????? Tried this in Kate, terminal and all others!!!!! Reproducible: Always Actual Results: test text this is copied texy resultse test text this is copied texy results this is copied texy Expected Results: copy highlight paste would not copy newly selected text but paste over it
I can confirm this. Reproducable as follows: - open kwrite - write a line like "This is a nice line of text" - select that line text with the mouse - select some text in another window - position the mouse above the text in the kwrite window - click middle mouse button to paste Actual results: The copied text is inserted into the existing text in kwrite. Expected results: The copied text *replaces* the existing text in kwrite. I think I have seen this in KDE 4.5 in krunner already, now using KDE 4.6.2 with Qt 4.7.2 in Debian wheezy/sid/experimental.
BTW the first time I tried this in KWrite the screen just went black and Ctrl-Alt-Backspaced my X session to get back to a working KDE session. Hmmm, I forgot to try Alt-F2 "killall plasma-desktop", Alt-F2 "plasma-desktop" first. When this happens again I will open a new bug report for it.
Hmmm, maybe this had been rsibreak without just a black screen to remember me to pause bug reporting for a while.
This is not a bug. It is the time honored behavior of X Windows. Perhaps neither one of you is aware of the fact that X has a separate concept of selection and clipboard. The concept of selection and copy are not the same. For selection, whenever you make a new selection it will overwrite the previous one. Period. If you do not want your second selection to overwrite the first one, then you must actually copy the first selection using CTRL+C or clicking on RMB (Right-Mouse-Button) and selecting Copy from the context menu. Then you can make a second selection and paste.