bugGNU nano - Bugs: bug #51134, cursor is visible on status bar...

 
 

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

bug #51134: cursor is visible on status bar when using --constantshow in large file

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 29 May 2017 11:21:39 AM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Mon 29 May 2017 08:18:45 PM UTC, comment #1: 

Fixed in git, cfa20c3f.  The secondary issue in 6ad3d3d6.

Benno Schulenberg <bens>
Group administrator
Mon 29 May 2017 11:21:39 AM UTC, original submission:  

To reproduce, run:

  src/nano --ignore --constant configure

(The configure file is 37 thousand lines long, so it is a large file.)

Now type: ^W  magic  <Enter>.  Then type  M-W  three times.  The third time takes a little while.  Depending on where in the current second you typed M-W, nano will show "Searching..." on the status bar or not.  When it does, the status bar will not show the new position of the cursor -- it will be blank instead, which is wrong (but this is a secondary bug, to be reported later).

Now type M-W again.  The next occurrences of "magic" are close together, so the "Searching..." message is very unlikely to appear, but what you do see every time you type M-W is that the cursor jumps to the start of the status bar, waiting to have recomputed the new position, and when the position has been updated, it jumps back to the relevant spot in the edit window.  Quite annyoing.

Expected behavior: the cursor should simply disappear while nano is busy computing the new position -- it should certainly never be visible in the status bar.

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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-06-26 bens Open/ClosedOpen Closed
    2017-05-29 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code