This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

test case for clipboard hang?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]