Bug 92695

Summary: Paste only works after opening preferences window
Product: XQuartz Reporter: Drew <drew.allen.turner>
Component: pbproxyAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: CLOSED WORKSFORME QA Contact: Jeremy Huddleston Sequoia <jeremyhu>
Severity: normal    
Priority: medium    
Version: 2.7.8 (xserver-1.16.4)   
Hardware: x86-64 (AMD64)   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description Drew 2015-10-27 18:54:32 UTC
On Yosemite 10.10.4, xquartz 2.7.7 (new macbook pro, mid 2014 ed)
To paste from a native osx app into an X11 window I must first go to X11 -> preferences, then paste always works ( It seems the settings are only read when the preferences window is opened ). What is even more strange, is that I must click on the X11 menu items and not use the keyboard shortcut (command + ,). The pasteboard occasionally will get the correct value after a few minutes, but this clearly is no way to work. This is a huge productivity hit since cut from a native app into X11 should not require two additional clicks. 

No variation in X11 -> Preferences -> Pasteboard settings seem to affect this, nor does my input device (option+click in touchpad or 3rd button in mouse). I currently have "Enable synching", "Update Pasteboard when clipboard changes", "update clipboard when pasteboard changes", "update primary (middle-click) when pasteboard changes", and "update pasteboard immediately when new text is selected". Again, I've found no variation in these matter. 

This does work when the pasteboard has the contents before xquartz is started (cut, start xquartz, paste). If you extend your test case to a series of cut/paste actions you'll see that the following paste action returns the original buffer contents, not the new. 

thanks much for the help  (this was updated from #2167  in the old system)
Comment 1 Jeremy Huddleston Sequoia 2015-10-27 19:21:16 UTC
I can't reproduce this.  It always works fine for me.

Command + , ?  What are your language settings?  It's a stretch, but maybe that's related.
Comment 2 Jeremy Huddleston Sequoia 2016-05-29 21:10:09 UTC
No response.  Closing.

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.