bug-apl
[Top][All Lists]
Advanced

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

Re: ⎕PLOT


From: Dr . Jürgen Sauermann
Subject: Re: ⎕PLOT
Date: Tue, 21 Jun 2022 13:12:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi Hudson,

thanks, fixed in SVN 1573.

Best Regards,
Jürgen


On 6/20/22 3:42 PM, hudson@hudsonlacerda.com wrote:
Hi Jürgen,

If I close some plot windows manually, and then execute ⎕plot ¯3, I get warnings like this one:

(apl:7886): GLib-GObject-WARNING **: 10:40:23.020: invalid unclassed pointer in cast to 'GtkWindow'

It sems other bugs are fixed.

Thanks.

Hudson


----- Em 19 de Jun de 2022, em 14:20, Dr. Jürgen Sauermann mail@jürgen-sauermann.de escreveu:

Hi Hudson,

thanks, see below.

Best Regards,
Jürgen

On 6/19/22 4:34 PM, [ mailto:hudson@hudsonlacerda.com | hudson@hudsonlacerda.com
] wrote:

Hi.

        
A few things about ⎕plot:

        
1) GNU APL info manual says (2.31):
   ⎕PLOT ¯3      ⍝ close all plot windows

        
However:
      ⎕plot 2 1 4 3
94820426042176
      ⎕plot ¯3
*** Could not find w_props 0xfffffffffffffffd in plot_stop() ***
0

        
[After that, further ⎕plot calls randomly display older plot data, if any.]
Fixed, SVN 1571 .

2) Is there any way to reuse on the same plot window (instead of
storing/closing the handle and creating a new plot window every time)?
(Likewise the default "plot()" behaviour of GNU Octave.)
not really (and providing it would mean quite some rework). I believe that
the advantages would be quite minimal and under the hood it would probably
still do the same.

If you create the new window before closing the old one (i.e. in a
make-before-break fashion and with the same window attributes, then I
believe there will be no noticeable difference to using the same window
multiple times.

3) Info manual (2.31.3) says that a plot can be closed "by opening the
drop down menu of the window (at the top left of the window)",
but that seems to be system-specific. Here, I can find a similar menu
but right-clicking the window-manager border at the top of the window.
Documentation fixed, SVN 1571 .

Hudson


reply via email to

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