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

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

[Octave-bug-tracker] [bug #61673] classdef - methods (Access = hidden) r


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #61673] classdef - methods (Access = hidden) results in spurious figure window
Date: Tue, 14 Dec 2021 15:10:55 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36

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

                 Summary: classdef - methods (Access = hidden) results in
spurious figure window
                 Project: GNU Octave
            Submitted by: nrjank
            Submitted on: Tue 14 Dec 2021 03:10:54 PM EST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Jankowski
        Originator Email: 
             Open/Closed: Open
                 Release: 7.0.90
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Tested on Windows in Octave 6.4.0 and 7.0.1 (hg id: 366aa563dd2e)

creating a classdef class, I started getting an odd empty figure window to pop
up when creating the object. after some trial and error, I found that having a
methods section with (Access = hidden) appears to be the trigger. it seems to
not matted what populates the methods, properties, etc.

testclassdef.m:


classdef testclassdef

  methods (Access = public)
    function this = testclassdef (varargin)
      a = 1
    endfunction
  endmethods

#  methods (Access = hidden)
#  endmethods

endclassdef



>> close all;clear all;
>> testclassdef
a = 1
ans =

  testclassdef object with properties:


uncomment the hidden methods section


>> close all;clear all;
>> testclassdef
**empty figure window appears**
a = 1
ans =

  testclassdef object with properties:







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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