Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3255 > unrolled thread

Problem closing a qt terminal

Started byMBaz <eorlinga@gmail.com>
First post2016-03-09 09:36 -0800
Last post2016-03-10 06:53 -0800
Articles 4 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Problem closing a qt terminal MBaz <eorlinga@gmail.com> - 2016-03-09 09:36 -0800
    Re: Problem closing a qt terminal Karl Ratzsch <mail.kfr@gmx.net> - 2016-03-09 19:34 +0100
      Re: Problem closing a qt terminal MBaz <eorlinga@gmail.com> - 2016-03-09 11:01 -0800
        Re: Problem closing a qt terminal MBaz <eorlinga@gmail.com> - 2016-03-10 06:53 -0800

#3255 — Problem closing a qt terminal

FromMBaz <eorlinga@gmail.com>
Date2016-03-09 09:36 -0800
SubjectProblem closing a qt terminal
Message-ID<62db7738-06f4-457b-a186-c9aabc94adf5@googlegroups.com>
Hello,

When I run these commands:

gnuplot> set term qt
gnuplot> plot(sin(x))
gnuplot> set term qt 0 close

the plot window doesn't close. However, when using wxt, the plot window closes as expected. This happens in both gnuplot 4.6.6 and 5.0.2, on Ubuntu and on Arch Linux.

Is this a bug? What is the correct way to close a qt plot window from gnuplot's command line?

-- mb

[toc] | [next] | [standalone]


#3256

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2016-03-09 19:34 +0100
Message-ID<nbpqb7$s2e$1@solani.org>
In reply to#3255
Am 09.03.2016 um 18:36 schrieb MBaz:

> gnuplot> set term qt
> gnuplot> plot(sin(x))
> gnuplot> set term qt 0 close
> 
> the plot window doesn't close. However, when using wxt, the plot window closes as expected. This happens in both gnuplot 4.6.6 and 5.0.2, on Ubuntu and on Arch Linux.
> 
> Is this a bug? What is the correct way to close a qt plot window from gnuplot's command line?

Definitively a bug. gp5.03 on windows has mixed reactions. First try
gave an error message that gnuplot_qt.exe has crashed. Next try with
new terminal worked after a hang of 30 seconds or so.
After starting a new session the command to close the terminal
window is first silently ignored, then crashes gnuplot_qt.exe again.

Looks like the "close" command can get lost in the communication
between gp core and the terminal code.

[toc] | [prev] | [next] | [standalone]


#3257

FromMBaz <eorlinga@gmail.com>
Date2016-03-09 11:01 -0800
Message-ID<39ab192b-e267-4bca-b9c5-bd7b7863fcf8@googlegroups.com>
In reply to#3256
On Wednesday, March 9, 2016 at 1:34:17 PM UTC-5, Karl Ratzsch wrote:
> Am 09.03.2016 um 18:36 schrieb MBaz:
> 
> > gnuplot> set term qt
> > gnuplot> plot(sin(x))
> > gnuplot> set term qt 0 close
> > 
> Definitively a bug. gp5.03 on windows has mixed reactions. First try
> gave an error message that gnuplot_qt.exe has crashed. Next try with
> new terminal worked after a hang of 30 seconds or so.
> After starting a new session the command to close the terminal
> window is first silently ignored, then crashes gnuplot_qt.exe again.
> 
> Looks like the "close" command can get lost in the communication
> between gp core and the terminal code.

Thanks for trying it out. Should I open a bug report on the tracker?

-- mb

[toc] | [prev] | [next] | [standalone]


#3258

FromMBaz <eorlinga@gmail.com>
Date2016-03-10 06:53 -0800
Message-ID<4ad92eb4-721b-40ae-b143-a4f35c765f58@googlegroups.com>
In reply to#3257
On Wednesday, March 9, 2016 at 2:01:18 PM UTC-5, MBaz wrote:
> On Wednesday, March 9, 2016 at 1:34:17 PM UTC-5, Karl Ratzsch wrote:
> > Am 09.03.2016 um 18:36 schrieb MBaz:
> > 
> > > gnuplot> set term qt
> > > gnuplot> plot(sin(x))
> > > gnuplot> set term qt 0 close
> > > 
> > Definitively a bug. 
> 
> Thanks for trying it out. Should I open a bug report on the tracker?
> 
> -- mb

I went ahead and submitted a bug report: https://sourceforge.net/p/gnuplot/bugs/1753/

Thanks,

-- mb

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web