• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Copy and paste in Motif apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy and paste in Motif apps


  • Subject: Re: Copy and paste in Motif apps
  • From: Jeremy Huddleston <email@hidden>
  • Date: Sun, 14 Mar 2010 09:27:21 -0700

On Mar 14, 2010, at 07:05, Rob Arthan wrote:

>>
>> 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.
>
> I have now demonstrated using a failsafe session on Ubuntu that Motif
> copy and paste does not require a clipboard manager to work properly.

What Motif flavor are you using?  Please try that failsafe program on XQuartz.  Don't compile it on darwin and run it there, ssh to your ubuntu box and run the binary that works for you.

Next, try running your OSX binary on your ubuntu Xserver.  If that fails, switch your motif flavor (lesstif vs openmotif) to see if that is the problem.


>>> 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
>
> I presume this also make xpbproxy release ownership of the CLIPBOARD_MANAGER selection so that you can run another clipboard manager (?).

Yes.  Otherwise you wouldn't be able to run xclipboard.  That is what is meant by the descriptive text under that checkbox.

> In the past, I have encountered a buggy clipboard manager in Gnome  (now fixed) that stopped Motif copy and paste working. I am wondering now whether there are circumstances under which xpbproxy is somehow blocking things when the pasteboard preferences should be disabling.

If you disable it, xpbproxy does absolutely nothing.  You can checkout the code to verify that.

>
>> 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).
>>
>
> However, the problem now turns out to be intermittent. Restarting X has cured it on two different Macs (even though it had persisted for days and even carried on after a reboot of one of them). On both machines Motif copy and paste is working today even with the Pasteboard preferences all enabled.
>
> Regards,
>
> Rob.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list      (email@hidden)
>
> This email sent to email@hidden

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

  • Follow-Ups:
    • Re: Copy and paste in Motif apps
      • From: Rob Arthan <email@hidden>
References: 
 >Copy and paste in Motif apps (From: Rob Arthan <email@hidden>)
 >Re: Copy and paste in Motif apps (From: Jeremy Huddleston <email@hidden>)
 >Re: Copy and paste in Motif apps (From: Rob Arthan <email@hidden>)

  • Prev by Date: Re(4): X11 Has to Be Launched Twice to Function
  • Next by Date: XQuartz 2.5.0_rc1
  • Previous by thread: Re: Copy and paste in Motif apps
  • Next by thread: Re: Copy and paste in Motif apps
  • Index(es):
    • Date
    • Thread