A decision is make after calling SetClipboardViewer() that we attempted to set the next window in the clipboard chain to ourselves. This is too late, the attached code makes certain that all is correct both before and after SetClipboardViewer() is called. This fix makes the clipboard more robust and hopefully removes occasional flakiness some users have encountered.
Created attachment 5991 [details] [review] Patch to fix the problem
Applied. Thanks.
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.