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

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

[Octave-bug-tracker] [bug #55322] Possible to create orphaned figures wh


From: Rik
Subject: [Octave-bug-tracker] [bug #55322] Possible to create orphaned figures when suppling two "parent" arguments to line()
Date: Sat, 29 Dec 2018 01:25:17 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

                 Summary: Possible to create orphaned figures when suppling
two "parent" arguments to line()
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Fri 28 Dec 2018 10:25:16 PM PST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: In Progress
             Assigned to: rik5
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

When running the sample script below which uses two "parent" arguments the
graphics subsystem becomes confused and an orphaned figure (not closed by
final line) is created.


clf;
hf = figure ();
hax = gca ();
hg = hggroup ();
hl = line (hax, [0, 1], [1, 1], 'parent', hax, 'parent', hg);
close (hf);


Sample session:


octave:1> tst_2parent
error: graphics_handle::free: invalid object -53.6632
execution error in graphics callback function


The Octave interpreter should be able to cope with random coding style outside
the norm.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 28 Dec 2018 10:25:16 PM PST  Name: tst_2parent.m  Size: 127B   By:
rik5

<http://savannah.gnu.org/bugs/download.php?file_id=45767>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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