bugGNU nano - Bugs: bug #47133, walking through the files in the...

 
 

bug #47133: walking through the files in the file browser has become very slow

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 13 Feb 2016 11:54:34 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.

 

Sat 13 Feb 2016 04:43:37 PM UTC, comment #2:

Fixed in SVN, r5638.

This could be further improved by statting the dir to see if its contents have been updated since the last rebuild, and if so, rebuild again.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 13 Feb 2016 03:05:22 PM UTC, comment #1:

Currently, for every change in selected file, so for every cursor movement, the entire file list is rebuilt. This should be done only when the size of the terminal has changed or might have changed.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 13 Feb 2016 11:54:34 AM UTC, original submission:

To reproduce, run 'src/nano README', then type ^R ^T M-G /etc <Enter>. The display should now show the contents of the /etc system directory; there are likely very many files there. Now press and hold <Right>. In nano-2.4.1 and earlier, the highlight of the currently selecting file will flicker on steadily. But since nano-2.4.2, after the first few steps, the highlight starts to pauze and falter and jump. It's silly.

When there are just twenty or thirty files in the listed directory, this faltering is hardly noticeable, but when there are a hundred or more... Bweh! What the heck happened there?

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 Feb 2016 03:08:38 PM UTCbensOpen/ClosedOpen=>Closed
    Sun 14 Feb 2016 03:36:03 PM UTCbensSeverity3 - Normal=>4 - Important
    Sat 13 Feb 2016 04:43:37 PM UTCbensStatusIn Progress=>Fixed
    Sat 13 Feb 2016 03:05:22 PM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1