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]

Re: test case for clipboard hang?


Lev,

Lev Bishop wrote:

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).

I can't reproduce this at all.


The behavior I get is that in step 5 if you press Ctrl+V nothing happens (no delay, no pasting) and if you right click the context menu entry for "Paste" is greyed out (since X released ownership of the selection).

So, what version of Windows are you running and are you doing anything with multiple languages or locales?

Harold


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