Bug 13066

Summary: Cut 'n paste between X11 and OS X is uberflakey
Product: xorg Reporter: Ben Byer <freedesktop>
Component: Server/DDX/XQuartzAssignee: Ben Byer <freedesktop>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high CC: n8gray
Version: 7.2 (2007.02)   
Hardware: All   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
code that currently proxies between NSPasteboard and X11 selections
none
more code that proxies between NSPasteboard and X11 selections none

Description Ben Byer 2007-11-02 16:53:27 UTC
Cut and paste in X11 is generally broken;  we've had reports of problems going from X11 to OS X, from OS X to X11, fron X11 to X11, and from OS X to OS X while X11 is running.  The situation is not much better with the upstream X11 code, because many popular X11 programs use confusing or inconsistent cut-and-paste systems.  Because of this, it's very difficult to tell which problems are caused by the X11 spec / client programs, and which are caused by the X11-OS X interface code.
Comment 1 Ben Byer 2007-11-02 17:02:21 UTC
Created attachment 12324 [details]
code that currently proxies between NSPasteboard and X11 selections

It'd be really nifty if someone integrated this into the xorg-server-1.2-apple branch in git.
Comment 2 Ben Byer 2007-11-02 17:03:10 UTC
Created attachment 12326 [details]
more code that  proxies between NSPasteboard and X11 selections
Comment 3 Ben Byer 2007-11-02 17:04:40 UTC
... that way, it wouldn't be necessary to run quartz-wm --only-proxy.

Comment 4 n8gray 2007-11-10 14:34:26 UTC
Problem #1: If you use the Edit/Copy menu once you're stuck using it forever.  I've suspected this for years, but now I know why.  Search for _proxied_selection.  It's set to XA_PRIMARY in x_copy, which prevents x_inactive from ever changing it to anything else.  I haven't spent enough time looking at the code to understand the correct approach.
Comment 5 Jeremy Huddleston Sequoia 2008-11-08 14:44:23 UTC
Much better in 2.3.2 ...  try it! woot! =)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.