<p></p>
<p>23 December 2020 Noon</p>
<p>geany version: 1.32<br>
ubuntu version: 18.04</p>
<p>Lately I've been running my machine until it shuts off from a drained battery.</p>
<p>Today I noticed that when I run python programs using the toolbar execute button, the icon<br>
does not change back to a gear from the circle-slash when the program finishes.</p>
<p>The practical effect of this is you have to click the button again to get the gear icon, but the<br>
terminal closes instead of remaining open. This is very inconvenient since it makes it impossible to compare outputs from two different versions side by side.</p>
<p><strong>Workaround</strong></p>
<p>I solved the problem by opening the "set build commands" dialog and changing the execute command to something that throws an error, e.g. python "%p%f" (no '/' between), running something, and then changing the execute command back to its original value. (python "%f")</p>
<p>Evidently, geany stores some state that is not reset owing to the crash, and in some cases is not sanitized on startup.</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/2703">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4BCSG2CMY5JIBI4ZTSWJGN7ANCNFSM4VHMZG5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6DE7OJBCXO7CS4FNDSWJGN7A5CNFSM4VHMZG52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LRCVITQ.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/2703",
"url": "https://github.com/geany/geany/issues/2703",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>