The "Run or view the current file"-button executes a file.
However after getting clicked again it should close the file (this is also indicated by the icon), but it doesn't.
ArchLinux, Geany 1.23
Works here, more information needed, for example what are you running/viewing, an example demonstrating how to reproduce the problem would be good.
Oh, sorry I thought it would be the same for everyone.
I run simple C++ code and it is executed in the terminal. I use the xfce4-terminal.
When I click on the button it executes the file. The icon changes to the red "cancel"-icon. However when I click on it again, only the icon changes again in to its former state but the actual program doesn't close.
All of my software is up to date since I run ArchLinux.
Hm, interesting it works when I define to use xterm. So it's related to the xfce4-terminal. Why doesn't it work?
This is what is defined in the preferences:
xfce4-terminal -e "/bin/sh %c"
Was just about to tell you to try xterm :)
Maybe xfce4-terminal eats the sigquit
How can I further test this?
I can confirm on Xubuntu 12.10, using either xfce4-terminal (including using the --disable-server option mentioned in Geany's manual) and gnome-terminal. xterm works as expected. Other signals sent from outside of Geany like SIGINT and SIGTERM work, just not SIGQUIT.
I tried with lxterminal - doesn't work either...
I have noticed something interesting: When a lxterminal/xfce4-terminal is already open while clicking on the execute-button in Geany or if you cick on execute a second time, Geany it behaves different. The button only changes its icons shortly and gets back its original icon.
Try to reproduce it by either having an affected terminal already open while clicking on execute, or just execute it twice with Geany without closing the previous terminal.
Changed in Git to use sigterm instead of sigquit.
@nuc1eon your last comment is a different problem, please open a new bug, don't hijack this one.
Log in to post a comment.