octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close


From: Daniel Molina García
Subject: [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable
Date: Wed, 20 May 2020 01:39:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?58408>

                 Summary: closing gnuplot windows without "close" makes other
toolkits unusable
                 Project: GNU Octave
            Submitted by: dmolina
            Submitted on: Wed 20 May 2020 05:39:33 AM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I reproduced it in development version and 5.2.

Commands graphics_toolkit("qt") and graphics_toolkit("fltk") work as expected.
However, once graphics_toolkit("gnuplot") is introduced, the former two
commands have no effect when plotting if plot is closed using the environment
(e.g., pressing 'x' in the top corner or ALT+F4). It is, even if
graphics_toolkit print the expected toolkit, the window appearing is always
gnuplot's one.

It does not happen if gnuplot windows are closed by using "close".

Example to reproduce it:

octave:1> x=0:0.1:10; y=sin(x);
octave:2> plot(x,y) # qt window appear. Close window pressing "x" or Alt+F4.
octave:3> graphics_toolkit("fltk")
octave:4> plot(x,y) # fltk window appear. Close window pressing "x" or
Alt+F4.
octave:5> graphics_toolkit("gnuplot")
octave:6> plot(x,y) # gnuplot window appear. Close window pressing "x" or
Alt+F4.
octave:7> graphics_toolkit("fltk")
octave:8> plot(x,y) # *gnuplot* window appear. Close window pressing "x" or
Alt+F4.
octave:9> graphics_toolkit
ans = fltk
octave:10> graphics_toolkit("qt")
octave:11> plot(x,y) # *gnuplot* window appear. Close window pressing "x" or
Alt+F4.
octave:12> graphics_toolkit
ans = qt





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58408>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]