bugGNU nano - Bugs: bug #47954, window fails to resize when a long...

 
 

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

bug #47954: window fails to resize when a long search is interrupted

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 18 May 2016 08:51:49 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 28 Jun 2016 05:41:06 PM UTC, comment #2: 

this fix broke bg/fg behavior slightly.  see bug 48331.

Mike Frysinger <vapier>
Group Member
Wed 18 May 2016 09:25:05 AM UTC, comment #1: 

Fixed in git, a878f5f.

This does have the small side effect of showing on the bottombars the Search menu instead of the Main menu when the window is resized during searching.  I think this is acceptable.  It is even kind of helpful: it shows that ^C is Cancel.

(Maybe we should always show the Search menu when a Re-search (M-W) takes longer than half a second?)

Benno Schulenberg <bens>
Group administrator
Wed 18 May 2016 08:51:49 AM UTC, original submission:  

To reproduce, open a huge file, search for a string that does not exist, resize the window, then abort the search with ^C.  Nano will keep using the old size of the window.  When you've made the window smaller, this will look messy.  Only resizing the window again will fix that.  (A ^L will not fix it -- maybe we should make it so that it does, because that is what ^L is for: get the display back into order.)

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 vapier (Posted a comment)
  • -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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-20 bens Open/ClosedOpen Closed
    2016-05-18 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code