bugGNU nano - Bugs: bug #52377, the message...


bug #52377: the message "Searching..." can stay on the status bar after searching has finished

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 09 Nov 2017 08:27:22 PM UTC  
Severity: 3 - NormalStatus: 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 13 Nov 2017 07:03:30 PM UTC, comment #2:

Fixed in git, ab14df07.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 13 Nov 2017 05:03:31 PM UTC, comment #1:

A somewhat reliable recipe for reproduction is to run:

src/nano --ignore --nohelp NEWS

Then type: ^W fast <Enter>, and hold down M-W. Now and then you will see "Searching..." appear for a tenth of a second on the status bar. If in that tenth you would release M-W, the "Searching..." would stay. (You can also search for "save" instead -- it will take much longer before "Searching..." will appear, but you will stand a chance to release M-W before it disappears.)

Anyway, the thing is easily fixed by adding a wrefresh() call after the statusbar blanking in findnextstr().

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 09 Nov 2017 08:27:22 PM UTC, original submission:

This is difficult to reproduce, but I've seen it happen four times now. I'm searching for something and am slowly typing a series M-W, and then, suddenly, even when the searching has stopped and the cursor sits on the found occurrence, the message "Searching..." stays put on the status bar. I use --quickblank, so it will disappear on the next keystroke, but it's not right.

It seems to occur only when --nohelp is used as I haven't been able to reproduce it with the help lines present. So, it sounds like the clearing of the status bar (after a search has finished) relies on a doupdate() call when the help lines get rewritten?

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):

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Nov 2017 08:27:38 AM UTCbensOpen/ClosedOpen=>Closed
    Mon 13 Nov 2017 07:03:30 PM UTCbensStatusIn Progress=>Fixed
    Mon 13 Nov 2017 05:03:31 PM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top

    Powered by Savane 3.1-cleanup1