bugGNU Octave - Bugs: bug #46056, Clear Command Window not clearing...


bug #46056: Clear Command Window not clearing beyond visible portion

Submitter:  None
Submitted:  Sat 26 Sep 2015 11:17:23 PM UTC
Category:  GUI Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Postponed Assigned to:  None
Originator Name:  Ron Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 17 Mar 2016 01:00:25 PM UTC, comment #3: 

for your use case try diary

Doug Stewart <dastew>
Thu 17 Mar 2016 12:56:09 PM UTC, comment #2: 

A use case for real clearing is e.g. when you need to copy long output to clipboard and want to easily find its beginning. In Konsole, e.g. I'd press Ctrl+Shift+K to clear and reset the terminal before running the command giving the long output I expect. But with current Octave GUI I have to carefully scroll up until I notice the empty screen left by `clc` command. If I somehow miss it, I may get extraneous lines of previous output.

Ruslan <l0110111>
Sat 26 Sep 2015 11:25:57 PM UTC, comment #1: 

Hi, thanks for the clear bug report. I would say that this isn't a bug, because it's working the same as in any standard X terminal emulator. However, I won't preclude anyone who wants to fix this from giving it a try if it's important to them. Downgrading to wishlist.

The "Clear Command Window" action is equivalent to the "clc" function, which does the same thing in the GUI or in console mode. The clc function should be the one modified to do something different in the GUI command window if anything is done about this.

Mike Miller <mtmiller>
Group Member
Sat 26 Sep 2015 11:17:23 PM UTC, original submission:  

Hi Octave Team-

I've noticed a possible bug in Octave 4.0.0 running on Linux (both Mint 17.1 and 13 OSs, 32-bit Atom processor Asus eeePC netbooks).

During a session, I might want to Clear Command Window.  Of course the actual window may be filled well above the portion visible in the GUI - the unseen portion can be viewed via the scroll down/up slider.

I do a Clear Command Window, and only the visible portion of the text on the command window is cleared - the portion above, accessed via the slider, remains. 

Furthermore, it is impossible to clear that remaining portion, even if it is pulled down into the visible portion of the GUI.  Instead, upon Clear Command Window again, the command line is simply offset another GUI screen's distance from the previous one - thus, you wind up with a stack of big gaps, but cannot clear the entire command window, the portion above.

This differs from the behaviour of the Windows version of Octave 4.0.0 in which Clear Command Window wipes the all the text from the GUI command window away, and you are presented with the command line at the top of the window (i.e. slider at the top) and no text whatsoever remaining.

I believe the latter is how Clear Command Window is meant to perform?





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

Attach Files:

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 dastew (Posted a comment)
  • -email is unavailable- added by l0110111 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-26 mtmiller Severity3 - Normal 1 - Wish
        Priority5 - Normal 1 - Later
        Item GroupNone Feature Request
        StatusNone Postponed
        Release4.0.0 dev

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code