test case for clipboard hang?

Lev Bishop lev.bishop@yale.edu
Thu Mar 25 22:09:00 GMT 2004


Harold: you wanted a test case for the clipboard hang. I can do it this 
way, using only xterm and notepad:

1) open xterm and notepad
2) type some stuff in the xterm
3) left click and drag to select text in the xterm (it gets highlighted) - 
let go of the mouse, and the text stays highlighted in reverse video.
4) single left click somewhere else in the xterm - the reverse video 
highlighting of the selection is removed
5) bring the focus to notepad and ^V to paste: it hangs for 3secs and 
doesn't paste (previously it would have hung completely).

Note 1: if in between steps 3 and 4 you paste into notepad, it works, and 
even if you continue to step 5 it still works, you have to do it in that 
order.

Note 2: Even after step 5 you can still paste X->X, ie middle-click in a 
different xterm and the paste goes through. (Maybe now it gets it from the 
CUT_BUFFER0 instead of from PRIMARY, the xterm manual states that 
selecting text puts it in both PRIMARY and in CUT_BUFFER0 -- presumably 
step 4 removes PRIMARY but does nothing to CUT_BUFFER0).

Lev



More information about the Cygwin-xfree mailing list