This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
test case for clipboard hang?
- From: Lev Bishop <lev dot bishop at yale dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 25 Mar 2004 16:06:49 -0500 (EST)
- Subject: test case for clipboard hang?
- Reply-to: cygwin-xfree at cygwin dot com
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