<p>The normal behaviour of PRIMARY selection in linux (middle mouse button) is that it remains until a new selection is made. Some editors, like Atom, honour this behaviour. In Geany, after selecting, a left mouse click anywhere inside the editor erases the PRIMARY selection: You cannot paste it any more.</p>
<p>I think that keeping the PRIMARY selection is more natural: you are not forced to paste immediately after selection! Besides, because it is less natural, I frequently end pasting in the wrong place.</p>
<p>Oddly, if you select and middle-button paste imediately, now PRIMARY selection becomes permanent: you can left-click as many times as you want (and middle-mouse paste as many times as you want), and middle-button keeps the PRIMARY selection.</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/2323?email_source=notifications&email_token=AAIOWJ3MSDXYLE7Q2DYQW43QLPUMHA5CNFSM4I2S5WL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNXPNQQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYVO4IHCWZSX27TTLLQLPUMHANCNFSM4I2S5WLQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJY3WRB7RO3P6CQXB73QLPUMHA5CNFSM4I2S5WL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNXPNQQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2323?email_source=notifications\u0026email_token=AAIOWJ3MSDXYLE7Q2DYQW43QLPUMHA5CNFSM4I2S5WL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNXPNQQ",
"url": "https://github.com/geany/geany/issues/2323?email_source=notifications\u0026email_token=AAIOWJ3MSDXYLE7Q2DYQW43QLPUMHA5CNFSM4I2S5WL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNXPNQQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>