public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Harold L Hunt II <huntharo@msu.edu>
To: cygwin-xfree@cygwin.com
Subject: Re: XFree86-xserv-4.3.0-34 crash
Date: Sat, 10 Jan 2004 17:02:00 -0000	[thread overview]
Message-ID: <4000301C.7010205@msu.edu> (raw)
In-Reply-To: <1073749327.10805.6.camel@famine>

Øyvind,

Øyvind Harboe wrote:

> This crash seems to be very similar to what I've seen in previous releases. I have the
> impression that it happens most often when I select a message in Evolution.

I believe that the crash is happening because there are no checks to 
make sure that the clipboards are only synchronized when supported 
formats (text and Unicode text) are being copied to the clipboard.

In other words, if you try to copy an image in X11 we will grab 
ownership of the Win32 clipboard and advertise that we have text ready 
to paste on the Win32 clipboard.  We will also grab ownership of the 
PRIMARY and CLIPBOARD selections in X11 when you copy an image in Win32 
and we will attempt to request the clipboard data in CF_TEXT or 
CF_UNICODETEXT formats when that data is pasted in X11; obviously, this 
does not work.

I do not believe that there were ever any reals checks to prevent this 
from happening before... or maybe it just worked out that checks were 
not needed as a side effect of how the previous system worked.

In any case, I am writing up a list of things that need to be done to 
ensure that we only synchronize the Win32 and X11 clipboards when 
supported formats (text and Unicode text) are being advertised on either 
clipboard.  In all other cases we need to keep the Win32 and X11 
clipboards independent of each other so that they don't try to transfer 
unsupported formats between each other.

This will probably be posted as XFree86-xserv-4.3.0-35 later today or in 
a few days.

Thanks for testing,

Harold


      reply	other threads:[~2004-01-10 17:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-10 15:42 Øyvind Harboe
2004-01-10 17:02 ` Harold L Hunt II [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4000301C.7010205@msu.edu \
    --to=huntharo@msu.edu \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).