bugGNU Octave - Bugs: bug #41798, GUI Command Window should scroll...

 
 

bug #41798: GUI Command Window should scroll contents upon mouse selection hitting bottom or top limits

Submitter:  Felipe G. Nievinski <fgnievinski>
Submitted:  Thu 06 Mar 2014 11:36:50 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 4.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 15 Dec 2016 03:47:16 PM UTC, comment #5: 

Sorry, I tried with a command window that I messed up with some previous tests.

The actual behaviour is as described in comment #2: The pasted text includes the latest line that would have been visible if the command window was larger. So it looks like the marked area exceeds the extends of the command window to where the mouse pointer is relative to its position.
No scrolling occurs at the window borders.

Fwiw: The Windows command window (cmd.exe) scrolls when reaching the edges with the mouse pointer while selecting.

Markus Mützel <mmuetzel>
Group administrator
Thu 15 Dec 2016 03:14:28 PM UTC, comment #4: 

Still does not work for me on Windows 10 (with the official 64bit intaller for Octave 4.2.0).
No scrolling.
When pasting in text editor only the first line of the selected text is pasted.

Markus Mützel <mmuetzel>
Group administrator
Thu 15 Dec 2016 01:31:52 PM UTC, comment #3: 

I think this issue is FIXED under Windows with Octave 4.2.0.  (Tested with the official 32-bit installer under WinXP).

When I do the steps mentioned in comment #2, then I can properly scroll up to all text lines in the command window. Also copying to a seperate text file works fine.

When I increase the number of text lines to much  more -e.g. via typing (1:2000)' - then I can only scroll up around 1000 lines. But that should be enough for practical purposes. And copying of all visibile lines works fine as well.

Hartmut <hardy>
Wed 19 Mar 2014 09:04:30 AM UTC, comment #2: 

Actually, the behaviour of Octave 3.8.1 on Windows is even more weird. I can mark more text than is visible. Example:

1. Run these commands

   clc
   (1:100)'

2. Work through "less"

3. Manually scroll up to the top.
   => With the default windows layout, the last line I can see is number 44.

4. Move mouse to the top left of the command window. Click and hold left button (to mark), move to the bottom right of the screen (beyond the command window). Release left button.

5. Notice that no scrolling occurs, as Felipe indicated.

6. Copy

7. Paste into another editor
   => The last line pasted is number 71. Probably, this is dependent on windows position and monitor size. In my case, it is the vertical position where the monitor ends.

8. After line number 71, there are spurious characters (can not reproduce in the above simple example, please try "rand(20)" instead).
   => Looks like some binary data structure.

Armin Müller <arm_in>
Fri 07 Mar 2014 12:55:41 AM UTC, comment #1: 

This does seem to work fairly well on Linux, so marking as Windows-specific.

Mike Miller <mtmiller>
Group Member
Thu 06 Mar 2014 11:36:50 PM UTC, original submission:  

please.

Felipe G. Nievinski <fgnievinski>

 

(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 mmuetzel (Posted a comment)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by arm_in (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by fgnievinski (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
    2016-12-15 mmuetzel StatusNone Confirmed
        Release3.8.1 4.2.0
    2014-03-07 mtmiller Operating SystemAny Microsoft Windows

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code