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

 
 

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

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

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

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

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

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 (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
    Mon 26 Jun 2017 08:27:04 AM UTCbensOpen/ClosedOpen=>Closed
    Mon 29 May 2017 08:18:45 PM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1