bugGNU nano - Bugs: bug #48246, directly after a justification,...

 
 

bug #48246: directly after a justification, constantshow is not effective

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 16 Jun 2016 05:50:31 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.

 

Thu 16 Jun 2016 06:52:20 PM UTC, comment #2:

Fixed in git, 158388c.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 16 Jun 2016 06:10:54 PM UTC, comment #1:

The offending commit is 75d64e6 -- the SIGWINCH patch from May last year. But... I don't understand how it could have worked correctly before that: directly after putting "Can now Unjustify" on the statusbar, it seems to overwrite this message with do_cursorpos()... But that doesn't happen... ?? Aaah! The only purpose of that call is to unset the suppression of the cursor position... so that it will be displayed next time. Okay. Fix the comment, and the call position (which currently is a complete no-op -- that's how I found this bug).

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 16 Jun 2016 05:50:31 PM UTC, original submission:

To reproduce, run 'src/nano --ignore --constant NEWS'. Move the cursor, and see that the cursor position is constantly displayed.

Now type ^J. The statusbar says "Can now Unjustify". That is okay. But... now type one character or move the cursor one step -- the cursor position is not displayed. Only on the next character or move is the position displayed again.

Bug exists since nano-2.4.2.

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Jun 2016 10:19:52 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 16 Jun 2016 06:52:20 PM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1