[Github-comments] [geany/geany] terminal persistence after crash (#2703)

ruminations notifications at xxxxx
Wed Dec 23 20:21:51 UTC 2020


23 December 2020 Noon

geany version: 1.32
ubuntu version: 18.04

Lately I've been running my machine until it shuts off from a drained battery.

Today I noticed that when I run python programs using the toolbar execute button, the icon
does not change back to a gear from the circle-slash when the program finishes.

The practical effect of this is you have to click the button again to get the gear icon, but the
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.

**Workaround**

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")

Evidently, geany stores some state that is not reset owing to the crash, and in some cases is not sanitized on startup.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2703
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201223/06e88295/attachment.htm>


More information about the Github-comments mailing list