Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Problem closing a qt terminal Date: Wed, 9 Mar 2016 19:34:10 +0100 Organization: solani.org Lines: 19 Message-ID: References: <62db7738-06f4-457b-a186-c9aabc94adf5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1457548456 28750 eJwFwQEBwCAMAzBL22jLkTPg9S+BhEOpMyEKNI3dy2sGwHbVh13/mXcgLEV2eHXcc5XMMOsBFvIQwA== (9 Mar 2016 18:34:16 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 9 Mar 2016 18:34:16 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 X-User-ID: eJwNysEBwCAIA8CVjECAcRTK/iPYe58JwXKlUW1s4gqQ64DtcnN3z6fcUesfVgTOhA6yw+tUPQ6iEQU= In-Reply-To: <62db7738-06f4-457b-a186-c9aabc94adf5@googlegroups.com> Cancel-Lock: sha1:TMijtrIFUjBKtfj+O+h2TVqMC1M= X-NNTP-Posting-Host: eJwFwQkBwDAIA0BL4S3IGWnxL2F3YSnJ4xnpsbH6ACXzbpEjg/4UoGvbdolgWCvv3TPupvoDIqgRFQ== Xref: csiph.com comp.graphics.apps.gnuplot:3256 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.