Menu

#1453 (Linux) wxt plot window hangs when "close" button clicked in --persist mode

closed-works-for-me
nobody
None
5
2015-03-23
2014-08-01
Anonymous
No

My Environment:

  • Xubuntu Linux 14.04 (64bit)
  • Xorg 1:7.7+1ubuntu8

Confirmed gnuplot versions:

  • gnuplot-qt 4.6.4-2
    (the one in the Ubuntu repository)
  • gnuplot 4.6.5
    (built from the source by ./configure; make;)

Steps to reproduce:

  1. Type

    $ echo "set term wxt; plot sin(x)" | gnuplot --persist
    
  2. Click the close button in the plot window.

  3. Nothing happens. The window won't respond to any mouse action
    anymore.
  4. Even after the window manager (xfwm4) forces the window
    to close, the gnuplot process still lives.
    I have to kill it by "kill" command.

The window should close and the gnuplot process should terminate.

Note:

  • This also happens when you feed a file to gnuplot, as in:

    $ cat sample.plot
    set term wxt
    plot sin(x)
    $ gnuplot --persist sample.plot
    

Discussion

  • Ethan Merritt

    Ethan Merritt - 2014-08-01
    • status: open --> open-works-for-me
     
  • Ethan Merritt

    Ethan Merritt - 2014-08-01

    I can't reproduce this on any of gnuplot 4.6.4 4.6.5 or current cvs.
    But I'm not using Ubuntu so I can't say if that particular build has a quirk.

     
  • Toshio Ito

    Toshio Ito - 2014-08-03

    This is the creator of the ticket
    (sorry, I just registered with SourceForge.net)

    I also tested it on Xubuntu 12.04 and gnuplot 4.6.5, but could not reproduce the bug.
    Maybe the cause is outside gnuplot.

    Thanks anyway.

     
  • Ethan Merritt

    Ethan Merritt - 2014-08-03
    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.