Help save net neutrality! Learn more.
Close

#940 "Run or view the current file" doesn't close the file

closed-fixed
nobody
None
5
2013-05-03
2013-03-10
Philip P.
No

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

Discussion

  • Lex Trotman

    Lex Trotman - 2013-03-10

    Works here, more information needed, for example what are you running/viewing, an example demonstrating how to reproduce the problem would be good.

     
  • Lex Trotman

    Lex Trotman - 2013-03-10
    • status: open --> pending
     
  • Philip P.

    Philip P. - 2013-03-11

    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.

     
  • Philip P.

    Philip P. - 2013-03-11
    • status: pending --> open
     
  • Philip P.

    Philip P. - 2013-03-11

    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"

     
  • Lex Trotman

    Lex Trotman - 2013-03-11

    Was just about to tell you to try xterm :)

    Maybe xfce4-terminal eats the sigquit

     
  • Philip P.

    Philip P. - 2013-03-11

    How can I further test this?

     
  • Anonymous - 2013-03-11

    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.

     
  • Philip P.

    Philip P. - 2013-03-13

    I tried with lxterminal - doesn't work either...

     
  • Philip P.

    Philip P. - 2013-03-13

    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.

     
  • Lex Trotman

    Lex Trotman - 2013-05-03

    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.

     
  • Lex Trotman

    Lex Trotman - 2013-05-03
    • status: open --> closed-fixed
     

Log in to post a comment.