bugGNU nano - Bugs: bug #56317, switching softwrap on can scroll...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56317: switching softwrap on can scroll half a screen

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 13 May 2019 08:07:52 AM UTC  
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Thu 16 May 2019 02:35:36 PM UTC, comment #2: 

The fix has been improved by commit a9e8f88e, avoiding to redraw part of the screen twice.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 13 May 2019 08:27:35 AM UTC, comment #1: 

Fixed in git, commit 0ebfd54e.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 13 May 2019 08:07:52 AM UTC, original submission:  

To reproduce, on an 80-column terminal run:

  src/nano --ignore +117 src/help.c

Type <Down> until the cursor is on the bottom row of the edit window. Then type M-S.  The screen scrolls half its number of lines.  This is surprising and disorienting.  Scrolling just two lines would have been enough, as there were just two lines onscreen that exceeded the screen's width.

Expected behavior: when toggling softwrap, the screen should scroll no more than needed, just like when toggling linenumbers when softwrap is already on.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

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 bens (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 logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-06-19 bens Open/ClosedOpen => Closed
    2019-05-13 bens Severity3 - Normal => 2 - Minor
        StatusNone => Fixed
        Assigned toNone => bens

    Back to the top


    Powered by Savane 3.5