public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Copy/paste broken from X to Windows
@ 2013-10-21  4:45 Matt D.
  2013-10-21 17:05 ` Larry Hall (Cygwin-X)
  2013-11-21 17:45 ` Jon TURNEY
  0 siblings, 2 replies; 5+ messages in thread
From: Matt D. @ 2013-10-21  4:45 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

Copy/paste seems to be broken when attempting to copy a large block of 
text from X to Windows. See the attachment for an example.

Copying the text from Windows to X seems fine but the reverse causes the 
mouse cursor to spin and then a blank string to paste.


Matt D.

[-- Attachment #2: xwin_clipboard_problem.txt --]
[-- Type: text/plain, Size: 4543 bytes --]

ACT III
SCENE I. A public place.

Enter MERCUTIO, BENVOLIO, Page, and Servants 
BENVOLIO 
I pray thee, good Mercutio, let's retire:
The day is hot, the Capulets abroad,
And, if we meet, we shall not scape a brawl;
For now, these hot days, is the mad blood stirring.

MERCUTIO 
Thou art like one of those fellows that when he
enters the confines of a tavern claps me his sword
upon the table and says 'God send me no need of
thee!' and by the operation of the second cup draws
it on the drawer, when indeed there is no need.

BENVOLIO 
Am I like such a fellow?

MERCUTIO 
Come, come, thou art as hot a Jack in thy mood as
any in Italy, and as soon moved to be moody, and as
soon moody to be moved.

BENVOLIO 
And what to?

MERCUTIO 
Nay, an there were two such, we should have none
shortly, for one would kill the other. Thou! why,
thou wilt quarrel with a man that hath a hair more,
or a hair less, in his beard, than thou hast: thou
wilt quarrel with a man for cracking nuts, having no
other reason but because thou hast hazel eyes: what
eye but such an eye would spy out such a quarrel?
Thy head is as fun of quarrels as an egg is full of
meat, and yet thy head hath been beaten as addle as
an egg for quarrelling: thou hast quarrelled with a
man for coughing in the street, because he hath
wakened thy dog that hath lain asleep in the sun:
didst thou not fall out with a tailor for wearing
his new doublet before Easter? with another, for
tying his new shoes with old riband? and yet thou
wilt tutor me from quarrelling!

BENVOLIO 
An I were so apt to quarrel as thou art, any man
should buy the fee-simple of my life for an hour and a quarter.

MERCUTIO 
The fee-simple! O simple!

BENVOLIO 
By my head, here come the Capulets.

MERCUTIO 
By my heel, I care not.

Enter TYBALT and others

TYBALT 
Follow me close, for I will speak to them.
Gentlemen, good den: a word with one of you.

MERCUTIO 
And but one word with one of us? couple it with
something; make it a word and a blow.

TYBALT 
You shall find me apt enough to that, sir, an you
will give me occasion.

MERCUTIO 
Could you not take some occasion without giving?

TYBALT 
Mercutio, thou consort'st with Romeo,--

MERCUTIO 
Consort! what, dost thou make us minstrels? an
thou make minstrels of us, look to hear nothing but
discords: here's my fiddlestick; here's that shall
make you dance. 'Zounds, consort!

BENVOLIO 
We talk here in the public haunt of men:
Either withdraw unto some private place,
And reason coldly of your grievances,
Or else depart; here all eyes gaze on us.

MERCUTIO 
Men's eyes were made to look, and let them gaze;
I will not budge for no man's pleasure, I.

Enter ROMEO

TYBALT 
Well, peace be with you, sir: here comes my man.

MERCUTIO 
But I'll be hanged, sir, if he wear your livery:
Marry, go before to field, he'll be your follower;
Your worship in that sense may call him 'man.'

TYBALT 
Romeo, the hate I bear thee can afford
No better term than this,--thou art a villain.

ROMEO 
Tybalt, the reason that I have to love thee
Doth much excuse the appertaining rage
To such a greeting: villain am I none;
Therefore farewell; I see thou know'st me not.

TYBALT 
Boy, this shall not excuse the injuries
That thou hast done me; therefore turn and draw.

ROMEO 
I do protest, I never injured thee,
But love thee better than thou canst devise,
Till thou shalt know the reason of my love:
And so, good Capulet,--which name I tender
As dearly as my own,--be satisfied.

MERCUTIO 
O calm, dishonourable, vile submission!
Alla stoccata carries it away.

Draws

Tybalt, you rat-catcher, will you walk?

TYBALT 
What wouldst thou have with me?

MERCUTIO 
Good king of cats, nothing but one of your nine
lives; that I mean to make bold withal, and as you
shall use me hereafter, drybeat the rest of the
eight. Will you pluck your sword out of his pitcher
by the ears? make haste, lest mine be about your
ears ere it be out.

TYBALT 
I am for you.

Drawing

ROMEO 
Gentle Mercutio, put thy rapier up.

MERCUTIO 
Come, sir, your passado.

They fight

ROMEO 
Draw, Benvolio; beat down their weapons.
Gentlemen, for shame, forbear this outrage!
Tybalt, Mercutio, the prince expressly hath
Forbidden bandying in Verona streets:
Hold, Tybalt! good Mercutio!

TYBALT under ROMEO's arm stabs MERCUTIO, and flies with his followers

MERCUTIO 
I am hurt.
A plague o' both your houses! I am sped.
Is he gone, and hath nothing?

BENVOLIO 
What, art thou hurt?

MERCUTIO 
Ay, ay, a scratch, a scratch; marry, 'tis enough.
Where is my page? Go, villain, fetch a surgeon.


[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Copy/paste broken from X to Windows
  2013-10-21  4:45 Copy/paste broken from X to Windows Matt D.
@ 2013-10-21 17:05 ` Larry Hall (Cygwin-X)
  2013-10-21 22:40   ` Matt D.
  2013-11-21 17:45 ` Jon TURNEY
  1 sibling, 1 reply; 5+ messages in thread
From: Larry Hall (Cygwin-X) @ 2013-10-21 17:05 UTC (permalink / raw)
  To: cygwin-xfree

On 10/21/2013 12:45 AM, Matt D. wrote:
> Copy/paste seems to be broken when attempting to copy a large block of text
> from X to Windows. See the attachment for an example.
>
> Copying the text from Windows to X seems fine but the reverse causes the
> mouse cursor to spin and then a blank string to paste.

Please send this report to the cygwin-xfree list.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Copy/paste broken from X to Windows
  2013-10-21 17:05 ` Larry Hall (Cygwin-X)
@ 2013-10-21 22:40   ` Matt D.
  2013-10-22  1:25     ` Larry Hall (Cygwin-X)
  0 siblings, 1 reply; 5+ messages in thread
From: Matt D. @ 2013-10-21 22:40 UTC (permalink / raw)
  To: cygwin-xfree

Larry,

This is the cygwin-xfree list?


Matt D.

On 10/21/2013 1:05 PM, Larry Hall (Cygwin-X) wrote:
> On 10/21/2013 12:45 AM, Matt D. wrote:
>> Copy/paste seems to be broken when attempting to copy a large block of
>> text
>> from X to Windows. See the attachment for an example.
>>
>> Copying the text from Windows to X seems fine but the reverse causes the
>> mouse cursor to spin and then a blank string to paste.
>
> Please send this report to the cygwin-xfree list.
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Copy/paste broken from X to Windows
  2013-10-21 22:40   ` Matt D.
@ 2013-10-22  1:25     ` Larry Hall (Cygwin-X)
  0 siblings, 0 replies; 5+ messages in thread
From: Larry Hall (Cygwin-X) @ 2013-10-22  1:25 UTC (permalink / raw)
  To: cygwin-xfree

On 10/21/2013 6:40 PM, Matt D. wrote:
> Larry,
>
> This is the cygwin-xfree list?

Right.  My apologies.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Copy/paste broken from X to Windows
  2013-10-21  4:45 Copy/paste broken from X to Windows Matt D.
  2013-10-21 17:05 ` Larry Hall (Cygwin-X)
@ 2013-11-21 17:45 ` Jon TURNEY
  1 sibling, 0 replies; 5+ messages in thread
From: Jon TURNEY @ 2013-11-21 17:45 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: matt

On 21/10/2013 05:45, Matt D. wrote:
> Copy/paste seems to be broken when attempting to copy a large block of text
> from X to Windows. See the attachment for an example.
> 
> Copying the text from Windows to X seems fine but the reverse causes the mouse
> cursor to spin and then a blank string to paste.

Thanks for the bug report and reproduction steps.

I can reproduce this problem, and there's definitely a timing sensitive bug
here (which a larger paste seems to trigger).  There is also perhaps something
not quite right about the way select() is behaving here, as it seems to be
returning 0 before the timeout expires, which I need to investigate further.

I've uploaded a snapshot at [1] with a fix and a workaround. Perhaps you could
try that and see if it improves things for you?

[1] ftp://cygwin.com/pub/cygwinx/XWin.20131121-git-49551bf34e231173.exe.bz2

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-21 17:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-21  4:45 Copy/paste broken from X to Windows Matt D.
2013-10-21 17:05 ` Larry Hall (Cygwin-X)
2013-10-21 22:40   ` Matt D.
2013-10-22  1:25     ` Larry Hall (Cygwin-X)
2013-11-21 17:45 ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).