bugGNU Octave - Bugs: bug #61051, Alignment of title fields in...

 
 

bug #61051: Alignment of title fields in whos() is incorrect after call to help

Submitter:  Rik <rik5>
Submitted:  Tue 17 Aug 2021 06:01:25 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed 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 20 Aug 2021 08:51:55 PM UTC, comment #2: 

Works fine now.  Marking as Fixed and closing report.

Rik <rik5>
Group administrator
Fri 20 Aug 2021 06:04:40 PM UTC, comment #1: 

The following change appears to work for me:

http://hg.savannah.gnu.org/hgweb/octave/rev/fa45724a7fc8

John W. Eaton <jwe>
Group administrator
Tue 17 Aug 2021 06:01:25 PM UTC, original submission:  

Weird behavior, but easy to reproduce.


run-octave -q
octave:1> whos
Variables visible from the current scope:

variables in scope: top scope

  Attr   Name        Size                     Bytes  Class
  ====   ====        ====                     =====  =====
         ans         1x20                        20  char

Total is 20 elements using 20 bytes

octave:2> more off
octave:3> help ls
octave:4> whos
Variables visible from the current scope:

variables in scope: top scope

    Attr Name        Size                     Bytes  Class
  ====   ====        ====                     =====  =====
         ans         1x1                          8  double

Total is 1 element using 8 bytes


The "Attr" title is mis-aligned.  My guess is that Octave pr-output routine assumes the C++ ostream is in a certain state rather than initializing it to the values we want.

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-08-20 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2021-08-20 jwe StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code