Robert Lynch writes:
> From: Robert Lynch <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: bug - system clipboard does not work
> Date: Fri, 15 May 1998 07:57:26 -0700
>
> Duncan Roe wrote:
> [snip-stuff about changing Zara's paste method...]
> >
> > Not for me! I don't see data from the system clipboard, even after
> > making the above change. And with the 2 lines I changed earlier, it
> > still copies and pastes data that is highlighted in the app.
> >
X11 has multiple "clipboards", include PRIMARY and CLIPBOARD. When you
highlight some text in a X11 package, such as Netscape, it gets copied to
PRIMARY. But if you're in Netscape and use the "copy" command, it'll get
copied to the CLIPBOARD.
On Solaris (and I presume Linux as well), the Java clipboard interface only
deals with CLIPBOARD. That's annoying since it's behaving differently from
other X11 apps. Even worse, some apps don't have an easy way to transfer
data to/from the CLIPBOARD. For the heavyweight components, it looks at
both the PRIMARY and CLIPBOARD.
I sent an email to the [EMAIL PROTECTED], and they agreed this is
a problem, although there's no current solution. I'd prefer the clipboard
api always looked at both buffers, or at least have the ability to set a
System.properties option. I suggest you send them email as well, perhaps
with enough people, they'll resolve this.
Albert
--
Albert L. M. Ting * [EMAIL PROTECTED] * 408-548-3111 * http://www.artisan.com
Artisan Components, Inc. * 1195 Bordeaux Drive * Sunnyvale, CA 94089 * USA