bugGNU Octave - Bugs: bug #52496, Command Window can't scroll up on...


bug #52496: Command Window can't scroll up on Windows 10 v. 1709

Submitted by:  None
Submitted on:  Fri 24 Nov 2017 04:16:48 PM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Confirmed Assigned to:  None
Originator Name:  Jop Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  dev
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Sat 16 Jun 2018 10:24:01 AM UTC, comment #14:

awful. why dies cross-platform software relies on windows orifinal and very outdated feature? Why have I to damage my system console in order to work with user-mode software?

Mon 16 Apr 2018 12:30:01 AM UTC, comment #13:

This issue does seem to be related to the new console features in Windows 10 1709. A workaround is to go to the cmd properties, and in 'Options' enable the "Use legacy console" option. Scrolling should now work, although the possibly useful new console features will be disabled in all Command Prompt windows.

Fri 13 Apr 2018 08:11:52 PM UTC, comment #12:

The GUI command window seems to be attached to Windows cmd.exe's properties.

If you change the properties of the cmd.exe by clicking on the top bar then going to Properties (or Defaults for that matter) and under the layout section increasing the Window Height, it helps.

It does not solve the problem but at least you can see more lines.

alpay <alpay>
Thu 15 Mar 2018 03:04:35 PM UTC, comment #11:

Re: comment #10
The same trick works with "pause". While it is waiting for a key, it is possible to scroll the command window.

Markus Mützel <mmuetzel>
Project Member
Thu 15 Mar 2018 02:21:19 PM UTC, comment #10:

Same scrolling behaviour after updating to 4.2.2. There exists a sort of emergency workaround for temporatily enabling the scroll functionality. I found out, that scrolling is possible while a program is waiting for button clicks in an Octave UI function, for instance in msgbox(".."). Write a tiny function like:


Execute the function and a message window pops up and the function is waiting for an OK click. While waiting you may scroll the command window. As soon as you click OK, scrolling is prohibited again. Well, not the optimum solution, but at least a way to look a bit in the past of the command window.

Tue 13 Feb 2018 03:16:55 PM UTC, comment #9:

This bug also affects me. I have Octave version 4.2.1 configured "x86_64-w64-mingw32". My OS is Windows 10 Home, Version 1709, OS build 16299.192

I can scroll down past the current line and past all text in the Command Window, but any attempts to scroll up bounce right back to where the cursor is.

Dana Conrad <dconrad>
Sun 31 Dec 2017 08:25:42 PM UTC, comment #8:

Seeing same behaviour
Microsoft Windows [Version 10.0.16299.125]
GNU Octave v4.2.1

David Chalmers <dchalmers>
Thu 28 Dec 2017 07:44:02 PM UTC, comment #7:

When more is active with large output showing "-- less -- (f)orward, (b)ack, (q)uit", then vertical scroll shows the same behavior of keeping the cursor on the screen, but with some nuances. Scrolling up works, but the "-- less --..." line moves up with the screen, and scrolling down only goes till the current cursor position is at the top of the screen. scrolling down shows garbled text interspersed with "-- less --..." lines. Pressing the down arrow moves that line with the cursor down and cleans up the text again. Pressing 'q' before getting to the bottom leaves the garbled text on the screen and now scrolling up only works until the cursor is at the bottom of the screen, and scrolling down works as far as there is the garbled "more" text still below it, even though the cursor has moved off the screen.

Marshall <marsian>
Thu 28 Dec 2017 07:11:23 PM UTC, comment #6:

I've noticed that sometimes horizontal scroll has the same behavior, but the way it does it might provide some more insight into what's happening with the vertical scroll problems as well: When scrolling is being blocked I find that it is resetting the scroll position to keep the cursor on the screen. For very long lines, as long as the cursor is on the screen, it doesn't jump. But if I drag the scrollbar to move the cursor off the screen, then it will jump to where the cursor is at the edge of the screen. Sometimes it doesn't do it and sometimes it does: I can reliably get it to show the jumping behavior by pressing the up arrow to get to a prior long line, and using the left/right arrow keys to move the cursor to different positions to test the scrollbar-drag-jumping.

Marshall <marsian>
Wed 13 Dec 2017 08:45:25 PM UTC, comment #5:

Confirmed on dev Octave as well, on Win10 version 1709.

Pager ("more ...") on or off makes no difference. The window contents just can't be scrolled back.

I'm afraid this is caused by Win10's newest feature update. Win10 is a moving target it seems :-(

Philip Nienhuis <philipnienhuis>
Project Member
Wed 13 Dec 2017 02:24:55 PM UTC, comment #4:

I have this problem too. I noticed also that I can use the scroll bar to scroll up and briefly see text above what's shown, but it jumps back to the bottom persistently. I have to keep dragging it to have it jump to the right location for a brief second, but as soon as I stop it jumps back down. I can't say when it started, because it certainly used to be able to scroll up.

Marshall <marsian>
Sat 09 Dec 2017 05:02:29 PM UTC, comment #3:

Same problem here.

Microsoft Windows [versão 10.0.16299.64]
GNU/Octave 4.2.1

GNU Octave Version: 4.2.1
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-6.2 Windows 6.2 x86_64
Package Name | Version | Installation directory
communications | 1.2.1 | C:\Octave\OCTAVE~1.1\share\octave\packages\communications-1.2.1
control | 3.0.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\control-3.0.0
data-smoothing | 1.3.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\data-smoothing-1.3.0
database | 2.4.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\database-2.4.2
dataframe | 1.1.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\dataframe-1.1.0
dicom | 0.1.1 | C:\Octave\OCTAVE~1.1\share\octave\packages\dicom-0.1.1
financial | 0.5.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\financial-0.5.0
fits | 1.0.7 | C:\Octave\OCTAVE~1.1\share\octave\packages\fits-1.0.7
fuzzy-logic-toolkit | 0.4.5 | C:\Octave\OCTAVE~1.1\share\octave\packages\fuzzy-logic-toolkit-0.4.5
ga | 0.10.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\ga-0.10.0
general | 2.0.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\general-2.0.0
generate_html | 0.1.13 | C:\Octave\OCTAVE~1.1\share\octave\packages\generate_html-0.1.13
geometry | 2.1.1 | C:\Octave\OCTAVE~1.1\share\octave\packages\geometry-2.1.1
gsl | 2.0.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\gsl-2.0.0
image | 2.6.1 | C:\Octave\OCTAVE~1.1\share\octave\packages\image-2.6.1
instrument-control | 0.2.3 | C:\Octave\OCTAVE~1.1\share\octave\packages\instrument-control-0.2.3
interval | 2.1.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\interval-2.1.0
io | 2.4.5 | C:\Octave\OCTAVE~1.1\share\octave\packages\io-2.4.5
linear-algebra | 2.2.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\linear-algebra-2.2.2
lssa | 0.1.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\lssa-0.1.2
ltfat | 2.2.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\ltfat-2.2.0
mapping | 1.2.1 | C:\Octave\OCTAVE~1.1\share\octave\packages\mapping-1.2.1
miscellaneous | 1.2.1 | C:\Octave\OCTAVE~1.1\share\octave\packages\miscellaneous-1.2.1
nan | 3.1.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\nan-3.1.2
netcdf | 1.0.11 | C:\Octave\OCTAVE~1.1\share\octave\packages\netcdf-1.0.11
nurbs | 1.3.10 | C:\Octave\OCTAVE~1.1\share\octave\packages\nurbs-1.3.10
ocs | 0.1.5 | C:\Octave\OCTAVE~1.1\share\octave\packages\ocs-0.1.5
odepkg | 0.8.5 | C:\Octave\OCTAVE~1.1\share\octave\packages\odepkg-0.8.5
optim | 1.5.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\optim-1.5.2
quaternion | 2.4.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\quaternion-2.4.0
queueing | 1.2.5 | C:\Octave\OCTAVE~1.1\share\octave\packages\queueing-1.2.5
signal | 1.3.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\signal-1.3.2
sockets | 1.2.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\sockets-1.2.0
sparsersb | 1.0.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\sparsersb-1.0.2
specfun | 1.1.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\specfun-1.1.0
splines | 1.3.2 | C:\Octave\OCTAVE~1.1\share\octave\packages\splines-1.3.2
stk | 2.3.4 | C:\Octave\OCTAVE~1.1\share\octave\packages\stk-2.3.4
strings | 1.2.0 | C:\Octave\OCTAVE~1.1\share\octave\packages\strings-1.2.0
struct | 1.0.14 | C:\Octave\OCTAVE~1.1\share\octave\packages\struct-1.0.14
tisean | 0.2.3 | C:\Octave\OCTAVE~1.1\share\octave\packages\tisean-0.2.3
tsa | 4.4.5 | C:\Octave\OCTAVE~1.1\share\octave\packages\tsa-4.4.5
video | 1.2.3 | C:\Octave\OCTAVE~1.1\share\octave\packages\video-1.2.3
windows | 1.2.4 | C:\Octave\OCTAVE~1.1\share\octave\packages\windows-1.2.4
zeromq | 1.2.1 | C:\Octave\OCTAVE~1.1\share\octave\packages\zeromq-1.2.1

João Nier <joaonizer>
Fri 01 Dec 2017 01:56:05 AM UTC, comment #2:

I also have this problem. This seems to have started after the Windows 10 FCU update. Octave 4.2.1 from the installer.

Fri 24 Nov 2017 05:55:40 PM UTC, comment #1:

I am also having this problem, Windows 10, Octave 4.2.1. Any thoughts anyone?

Fri 24 Nov 2017 04:16:48 PM UTC, original submission:

When executing command:

I can scroll up the command window, while 'more' is not finished.
When it is finished, I can't scroll up anymore.

Another strange this is this:
The command window seems to have some sort of line buffer,
I can scroll down, into the space where nothing has ever been printed (what's the use for this?), but I can't scroll up.

It seems the algorithm which checks where the cursor is, and keeps it in view, is wrong.



(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

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by alpay (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by dconrad (Posted a comment)
  • -email is unavailable- added by dchalmers (Posted a comment)
  • -email is unavailable- added by marsian (Posted a comment)
  • -email is unavailable- added by joaonizer (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-16 mtmiller Dependencies- => bugs #53360 is dependent
    2018-01-05 qformula Carbon-Copy- => Added qformula
    2017-12-13 philipnienhuis StatusNone => Confirmed
        Release4.2.1 => dev
        SummaryCommand Window can't scroll up => Command Window can't scroll up on Windows 10 v. 1709

    Back to the top

    Powered by Savane 3.3