bugGNU nano - Bugs: bug #27550, Page down doesn't correctly set...


bug #27550: Page down doesn't correctly set viewport at the end of the file

Submitted by:  Hannes Schueller <mr_creosote>
Submitted on:  Mon Sep 28 09:06:30 2009  
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Wed Feb 26 11:39:50 2014, comment #4:

Patch is in SVN now. Thanks for reporting, and for testing.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue Sep 17 17:47:11 2013, comment #3:

This fixes the issue for me. Thanks, Benno!

Hannes Schueller <mr_creosote>
Mon Sep 16 20:03:00 2013, comment #2:

Hello Hannes,

Could you try patch #8182 (https://savannah.gnu.org/patch/?8182),

For me it solves the issue of the "unviewable" last line you reported in comment #1.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue Dec 1 12:55:04 2009, comment #1:

It seems to be fixed in the 2.2.0 release apart from one very specific case:

Again, let the document end with a long, soft-wrapped line. Move the viewport so that only part of that final line of the document is visible. Move the cursor to the line above the soft-wrapped line. Neither the cursor keys nor page down will bring the full line into view. Apparantely, nano believes it doesn't need to shift the view, because the line is already visible.

Hannes Schueller <mr_creosote>
Mon Sep 28 09:06:30 2009, original submission:

Version: 2.1.11

To reproduce: Enable soft-wrapping, open a file which ends with a very long line which is soft-wrapped a couple of times. On the whole, the file at least has to be a little too long to fit on the screen. Use page down. The cursor will jump to the last line eventually (as indicated by the status line), but that line will not actually be visible, because the view hasn't scrolled far enough.

Hannes Schueller <mr_creosote>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bens (Posted a comment)
  • -unavailable- added by mr_creosote (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Feb 26 11:39:50 2014bensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top

    Powered by Savane 3.1-cleanup1