http://bugs.winehq.org/show_bug.cgi?id=31216
--- Comment #3 from Dan Kegel dank@kegel.com 2012-07-24 13:41:48 CDT --- After selecting and copying Dan in Terminal, and then mode in s-edit, running attached shell script outputs:
==== With -b Got atom TARGETS
Got atom UTF8_STRING containing: mode Got atom COMPOUND_TEXT containing: mode Got atom STRING containing: mode Got atom WCF_OEMTEXT containing: mode ==== Without -b Got atom TIMESTAMP
Got atom TARGETS
Got atom MULTIPLE containing: Got atom UTF8_STRING containing: Dan Got atom COMPOUND_TEXT containing: Dan Got atom TEXT containing: Dan Got atom STRING containing: Dan Got atom text/plain;charset=utf-8 containing: Dan Got atom text/plain;charset=UTF-8 containing: Dan Got atom text/plain containing: Dan
So Wine is only setting one of the two selections. Adding the registry key
[HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UsePrimarySelection"="1"
makes the problem go away.
Should Wine always put stuff in both the primary and secondary selection buffer?