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

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 13 May 2019 08:07:52 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  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>
Group administrator
Mon 13 May 2019 08:27:35 AM UTC, comment #1: 

Fixed in git, commit 0ebfd54e.

Benno Schulenberg <bens>
Group administrator
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>
Group administrator

 

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

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)
  •  

    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.

     

    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.13-4448.
    Corresponding source code