Re: Copy and paste in Motif apps
Re: Copy and paste in Motif apps
- Subject: Re: Copy and paste in Motif apps
- From: Jeremy Huddleston <email@hidden>
- Date: Sat, 13 Mar 2010 19:03:05 -0800
On Mar 13, 2010, at 04:44, Rob Arthan wrote:
> Since I upgraded to Snow Leopard, I am having problems with a Motif application that I develop and use. Within one process instance of the application, text copy and paste only works if I deselect everything in the Pasteboard tab of X11 preferences (as under Leopard, I think). However copying and pasting between different process instances only works if I also run xclipboard, and then not very well because xclipboard doesn't transfer the character set that my application uses properly. As the application includes a general purpose editor, it is not really acceptable to have a flakey copy-and-paste capability.
>
> What has changed so that I need to run a clipboard manager?
Well, we actually provide a clipboard manager now, so you shouldn't need one. You can turn off the checkbox titled "Update Pasteboard when CLIPBOARD changes" to get a "Leopard-like" behavior without this clipboard manager.
> Is there some combination of options to Quartz-WM or a better clipboard manager which will get me out of this hole.
quartz-wm doesn't dprovide this functionality any more. It's provided by xpbproxy which runs as a thread within the XQuartz server. The options are those shown in the preference pane.
If you disable all options in the pasteboard pane, then you are effectively isolating X11's CLIPBOARD and PRIMARY buffers from NSPasteboard ... if you need to run xclipboard for your application to work, then your application is likely buggy, and there's nothing externally that could really fix it. My guess is that xclipboard does something as a side effect that kicks your application into behaving...
Some people have issues with the "Update Pasteboard when ..." options in Pasteboard preferences, so I'd recommend disabling them while you debug your application (which you've already done).
--Jeremy
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden