[Users] [Bug 3461] X selection (clipboard) is removed when moving input cursor

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Fri Jul 10 16:35:52 CEST 2015


--- Comment #1 from Ricardo Mones <mones at users.sourceforge.net> ---
(In reply to comment #0)
> When composing a message, and you select some text to copy it into the X
> selection/clipboard, the copied text is removed once you move the input
> cursor.
> How to reproduce:
> 1) Open the compose window, enter a random word
> 2) Copy the word into the X selection buffer by double clicking on it using
> the left mouse button
> 3) Verify that it did indeed get copied into the X selection buffer, e.g.,
> by running "xclip -o" in an xterm, or by pasting the selection into the
> composer by clicking the middle mouse button
> 4) Move the input cursor in the compose window by pressing one of the arrow
> keys or clicking anywhere using the left mouse button
> 5) Repeat the test in #3. Observe how xclip now reports "Error: target
> STRING not available", or how nothing gets pasted when clicking the middle
> mouse button.

Using git master I cannot reproduce your 4th step: if I move cursor on compose
window I can keep pasting last selection (on a konsole window, FWIW), even if
nothing appears selected on compose window (which is consisteng with X
selection behaviour).

I've also checked briefly the code and seems nothing is done to clear selection
on purpose when arrows are moved.

Either you're doing something else, or there's some other factor here
interfering with clipboard. Which GTK+ version are you using? Can you test with
git master?

You are receiving this mail because:
You are the assignee for the bug.

More information about the Users mailing list