gnuplot wxt window freezes after clicking the close button in --persist mode

Bug #1351847 reported by Toshio Ito on 2014-08-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnuplot (Ubuntu)
Undecided
Unassigned

Bug Description

My Environment:

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

Confirmed gnuplot versions:

- gnuplot-x11 4.6.4-2

Steps to reproduce:

1. Type

    $ echo "set term wxt; plot sin(x)" | gnuplot --persist

2. Click the close button in the plot window.
   Nothing happens. The window won't respond to any mouse action
   anymore.
3. 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

- Maybe related to
  https://bugs.launchpad.net/ubuntu/+source/gnuplot/+bug/300829
  https://bugs.launchpad.net/ubuntu/+source/gnuplot/+bug/239466

I reported this bug to the upstream ( http://sourceforge.net/p/gnuplot/bugs/1453/ ),
but they said they couldn't reproduce it.

Can you reproduce this bug? Any information is appreciated.

Toshio Ito (debug-ito) wrote :

By the way, I did not have this bug in Xubuntu 12.04.4.
I built gnuplot 4.6.5 in 12.04.04, but it worked fine.

Anton Gladky (gladky-anton) wrote :

That is probably wxt-related bug.

Please note in Debian wxt-support was removed recently prior to qt-terminal.

Anton Gladky (gladky-anton) wrote :

I mean wxt-support by Gnuplot in Debian.

Toshio Ito (debug-ito) wrote :

Thanks for the reply.

I think this is related to wxt, too.
In qt terminal, the plot window closes just fine.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers