bugGNU Octave - Bugs: bug #54069, GUI Command windows does not...


bug #54069: GUI Command windows does not respect column width

Submitter:  Armin Müller <arm_in>
Submitted:  Wed 06 Jun 2018 09:40:38 AM UTC
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 4.4.0 Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Wed 06 Jun 2018 07:21:43 PM UTC, comment #1: 

On linux Mint (Cinnamon) the "column split" seems to work pretty well.  There is some feedback from the GUI's available real estate to the core worker process layout mechanism (i.e., I shrink the GUI width and the number of columns adjusts to smaller).  However, if I display something like rand(2,15), then resize the GUI width to smaller, the previously displayed items are off screen and there is no scroll bar that appears.  That's kind of bad, but tolerable because one can just redisplay the results and it will reformat accordingly.

In your case with Windows, apparently it isn't as nice.  There doesn't appear to be any feedback of the available width so the core formatting mechanism is choosing some default.  Either that, or Windows isn't properly reporting the available pixel width (that would be the better of the two alternatives).  This is probably programmed in Qt though, so may be the window manager's limitation meaning there's little that could be done.

Dan Sebald <sebald>
Wed 06 Jun 2018 09:40:38 AM UTC, original submission:  

When running code that will print results on the GUI command window, the output is wrapped with the wrong column width.


clear; close all; clc
rand(1, 10)

Screenshot attached.

Apparently, there is room for 8 columns of numbers. The 9th number is printed off-screen. A horizontal scrollbar is added. I find this output hard to read. Especially, it is not possible to read at a glance.

Octave CLI as well as Matlab will wrap aroud with the correct number of columns available. All text is visible without scrolling.

Armin Müller <arm_in>


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

Attach Files:

Attached Files
file #44308:  command_window_width.png added by arm_in (30KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by arm_in (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 project members can vote.





    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-06 arm_in Attached File- Added command_window_width.png, #44308

    Back to the top

    Powered by Savane 3.9