bugGNU nano - Bugs: bug #59747, toggling the mark with the mouse...

 
 

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

bug #59747: toggling the mark with the mouse does not update the M flag

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 21 Dec 2020 04:28:07 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 22 Dec 2020 01:26:32 PM UTC, comment #1: 

Fixed in git, commit d1c412d2, by a patch from Obelix, that refreshes the title bar when the mark is toggled by the mouse when --stateflags is active.

Benno Schulenberg <bens>
Group administrator
Mon 21 Dec 2020 04:28:07 PM UTC, original submission:  

To reproduce, run:

src/nano --ignore --state --mouse IMPROVEMENTS

Click twice with the mouse somewhere in the edit window.  On the status bar it says "Mark Set", but in the upper-right corner no "M" is shown.  Type ^L.  Now the "M" is shown.  Click again with the mouse in the same spot.  The status bar says "Mark Unset" but the "M" is still shown in the title bar.

Expected behavior: the state flag M should follow the actual state of the mark: double clicking with the mouse should set or clear it.

(Original report by Obelix, sideways in the third patch in https://lists.gnu.org/archive/html/nano-devel/2020-12/msg00042.html.)

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

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-15 bens Open/ClosedOpen Closed
    2020-12-22 bens Summarysetting/unsettting the mark with the mouse does not update state flags toggling the mark with the mouse does not update the M flag
    2020-12-22 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code