<p>From time to time Geany fails to copy the text to clipboard on Windows.<br>
Even Ctrl+X doesn't help.<br>
The clipboard gets empty and then no text is passed to the clipboard.<br>
Sometimes in other programs I also get the error with clipboard.<br>
I suggest the developers to make an "for" loop to try for, let's say, 10 times, to copy the text (save it to clipboard). I think you should get the error status from Windows API.<br>
A am a web (php + JS) and VB6 programmer and under VB6 I do as I described -- it works fine for me.</p>
<p>I hope this helps.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1971#issuecomment-482581349">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ0IdlhUL9CAdCHxnImk_vyr77Rm6ks5vgI6_gaJpZM4XLxzV">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxq7NcBFWbWrK3Pp5vQLklX5iCTeks5vgI6_gaJpZM4XLxzV.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@AragCF in #1971: From time to time Geany fails to copy the text to clipboard on Windows.\r\nEven Ctrl+X doesn't help.\r\nThe clipboard gets empty and then no text is passed to the clipboard.\r\nSometimes in other programs I also get the error with clipboard.\r\nI suggest the developers to make an \"for\" loop to try for, let's say, 10 times, to copy the text (save it to clipboard). I think you should get the error status from Windows API.\r\nA am a web (php + JS) and VB6 programmer and under VB6 I do as I described -- it works fine for me.\r\n\r\nI hope this helps."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1971#issuecomment-482581349"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1971#issuecomment-482581349",
"url": "https://github.com/geany/geany/issues/1971#issuecomment-482581349",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>