• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
The Citrix Blog
Personal Blog
Ruiguo Yang
Related Tags
Version 1 by Ruiguo Yang
on May 28, 2009 17:30.


 
compared with
Current by Ruiguo Yang
on May 29, 2009 10:42.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 6 changes. View first change.

 h3. The issue
  
 Many people have encountered problems with clipboard (cut and paste) not working in Citrix XenApp ( formerly Presentation server/Metaframe) environment.
  
  
 h3. The cause
  
 A not well behaving non-Citrix application can interfere with clipboard operation and cause problems with XenApp. A complete fix would require changes to the windows operating system.
  
 h3. Workaround exists but has limitations.
  
 My colleague Dmitry Vostokov wrote a tool called [RepairCBDChain|http://support.citrix.com/article/CTX106226] to work around the issue. It works, but it is not easy to use, especially for end users.
  
 h3. A fix was incorporated in XenApp plugin (client) but turned off by default
  h3. A fix was incorporated in XenApp plugin (client)
  
 Back in 2005 when I was still in Engineering department, I started tacking this problem. I found it a challenging but fun problem to solve since I can't modify bad third party applications nor the operating system. And the problem happens intermittently.
  
After quite some effort, I found a way to allow the XenApp Plugin to detect broken clipboard and fix it automatically. I was very happy.
  After quite some effort, I found a way to allow the XenApp Plugin to detect broken clipboard and fix it automatically. I was happy and thought my job was done.
  
[Here|http://support.citrix.com/article/ctx112434] is the detailed information about the fix. The fix is included since XenApp plugin (client) version 9.100.
  [Here|http://support.citrix.com/article/ctx112434] is the detailed information about the fix. The fix has been included in XenApp plugin (client) since 2005 version 9.100.
  
 Our internal tests showed that the fix was effective. Some people in our support forum and blog have also reported successful use of my fix.
  
 [http://forums.citrix.com/thread.jspa?threadID=57670&tstart=0]
 [http://forums.citrix.com/thread.jspa?threadID=88284&tstart=0]
 [http://community.citrix.com/x/l4TeAQ]
  
However to reduce potential side effects, the feature was disabled by default. Unfortunately, not many people seem to know about the fix, including even XenApp experts. For example please see the comment section of [this blog|http://community.citrix.com/blogs/citrite/vishalg/2008/04/25/Troubleshooting+Tools+for+Citrix+Environment] dated 2008 . And [this blog| http://community.citrix.com/x/l4TeAQ]. Another evidence is that RepairCBDChain is still one of the top downloaded knowledge base articles recently.
  h3. The fix is disabled by default unfortunately and was not well publicized.
  
The story didn't end though. To reduce potential side effects, the feature was disabled by default. I didn't agree with the decision but went alone. Unfortunately, the fix was buried in long release notes and not well publicized. As a result, not many people seem to know about the fix, including even XenApp experts. For example please see the comment section of [this blog|http://community.citrix.com/blogs/citrite/vishalg/2008/04/25/Troubleshooting+Tools+for+Citrix+Environment] dated 2008 . And [this blog| http://community.citrix.com/x/l4TeAQ]. Another evidence is that RepairCBDChain is still one of the top downloaded knowledge base articles recently. I am disappointed that users haven't benefited as much from my hard work as they should have been.
  
 h3. Should it be enabled by default now?
  
 I wonder if this fix should be enabled by default now. After all, what good is a fix if people don't know how to take advantage of it? In my opinion, the fix doesn't have much risk. If it does have bad side effects, after all these years, people would have reported problems with the fix already. What do you think?
  
 {flash:url=http://www.polldaddy.com/poll.swf|FlashVars=p=1659490|
 quality=high|wmode=transparent|bgcolor=#ffffff|width=252|height=300|
 name=Citrix Blog Poll|salign=tl|scale=autoscale}
  
 h3. Related articles.
  
 Citrix KB articles about clipboard issues
 [http://support.citrix.com/article/CTX104631]
  
 Articles about RepairCBDChain tool.
  
 [http://support.citrix.com/article/CTX106226]
  
 [http://www.dumpanalysis.org/blog/index.php/2007/06/21/repair-clipboard-chain-201/]
  
 [http://www.dumpanalysis.org/blog/index.php/2006/12/09/clipboard-issues-explained/]
  
  
 Jeff's blog about clipboard in general.
 [http://citrixblogger.org/2007/05/27/the-citrix-clipboard-part-i/]
 [http://citrixblogger.org/2007/05/30/the-citrix-clipboard-part-ii/]
  
 Ray (Ruiguo) Yang
 [Check out my other blogs |http://community.citrix.com/blogs/citrite/ruiguoy/]
 [Subscribe to my blog RSS feed | http://community.citrix.com/createrssfeed.action?sort=modified&rssType=rss2&maxResults=30&timeSpan=14&publicFeed=true&spaces=~ruiguoy]
 [Follow me (RayYangCitrix) on Twitter | http://twitter.com/rayyangcitrix]