bugGNU nano - Bugs: bug #51131, since 2.7.0, nano leaves cursor on...

 
 

bug #51131: since 2.7.0, nano leaves cursor on statusbar when getting foregrounded again

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 28 May 2017 05:58:23 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.

 

Fri 02 Jun 2017 07:18:46 PM UTC, comment #3:

Now fixed also for tiny, as a result of commit 84ff9ebb. But that commit really is a fix for a problem reported on the mailing list:

https://lists.gnu.org/archive/html/nano-devel/2017-05/msg00019.html

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 31 May 2017 01:32:12 PM UTC, comment #2:

Not yet fixed for the --enable-tiny case.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 31 May 2017 01:17:14 PM UTC, comment #1:

This has been fixed in the bargain by commit a969adf8, which fixed bug #51124.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sun 28 May 2017 05:58:23 PM UTC, original submission:

To reproduce, use version 2.7.1 to 2.7.5 (version 2.7.0 didn't even redraw the bottom bars, so let's ignore that one), and run:

src/nano --suspend NEWS

In another terminal:

kill -SIGTSTP $(pidof nano)

And in the first terminal:

fg

See how the cursor sits at the start of the status bar, instead of wherever it ought to be in the edit window. Now type an Arrow key and see how the cursor jumps to where it actually is.

It seems that a call to place_the_cursor() is missing when nano comes back out of suspension.

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
    Mon 26 Jun 2017 08:26:13 AM UTCbensOpen/ClosedOpen=>Closed
    Fri 02 Jun 2017 07:18:46 PM UTCbensStatusNone=>Fixed
    Wed 31 May 2017 01:32:12 PM UTCbensStatusFixed=>None
    Wed 31 May 2017 01:17:14 PM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1