bugGNU Octave - Bugs: bug #38286, fdisp not working for legacy OO...

 
 

bug #38286: fdisp not working for legacy OO classes (@class interface)

Submitter:  Rik <rik5>
Submitted:  Fri 08 Feb 2013 05:57:56 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 08 Feb 2013 06:08:27 PM UTC, comment #1: 

I think this is partly a duplicate of #38261

John W. Eaton <jwe>
Group administrator
Fri 08 Feb 2013 05:57:56 PM UTC, original submission:  

The @class interface calls the function @class/display.m when it needs to display an object of @class.  This works fine when the output is to stdout.  When the output is to a different file handle, such as when using fdisp, the output still goes to the screen and the file is left empty.

I've attached a tar file with a sample class and test script which illustrates the problem.

Matlab talks about overloading not only display(), but also disp().  It's unclear whether even that will be enough in this case.

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27423:  fdisp_obj_tst.tar added by rik5 (6KiB - application/x-tar)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-22 mtmiller Open/ClosedOpen Closed
    2013-02-08 rik5 StatusNone Duplicate
    2013-02-08 rik5 Dependencies- Depends on bugs #38261
    2013-02-08 rik5 Attached File- Added fdisp_obj_tst.tar, #27423

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code