bugGNU nano - Bugs: bug #59783, [Wish] let the mouse wheel scroll...

 
 

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

bug #59783: [Wish] let the mouse wheel scroll the page instead of moving the cursor

Submitter:  Tiago Almeida <tjapro>
Submitted:  Wed 30 Dec 2020 02:04:19 PM UTC
   
 
Severity:  1 - Wish Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

Tue 19 Jan 2021 09:17:34 AM UTC, comment #4: 

Closing, for lack of feedback and because I don't like the behavior with the patch.

Benno Schulenberg <bens>
Group administrator
Thu 31 Dec 2020 11:02:05 PM UTC, comment #3: 

Let me try the patch first.

Tiago Almeida <tjapro>
Thu 31 Dec 2020 02:51:36 PM UTC, comment #2: 

Strangely, when using --mouse, scrolling with the mouse wheel (or with a two-finger scroll on the touchpad) does nothing in nano on my regular laptop.  But on my other laptop it works fine: it works the same way as when not using --mouse: moving the cursor three lines for every bump of the wheel.

With attached patch you can make the mouse wheel scroll instead of moving the cursor.  But I don't think I like this behavior, because, when scrolling down for example, the cursor is the opposite side of where your eyes are looking -- in this case: at the top of the screen.  But when scrolling, you are probably looking for a line, looking at the lower part of screen, waiting for it to appear, and want to put the cursor on that line.  When having the cursor at the edge of the screen where you are scrolling to (as it is without the patch), I find it easier to quickly place the cursor on that line.  So... I don't think I want to apply this patch.

What do you think?

(file #50590)

Benno Schulenberg <bens>
Group administrator
Wed 30 Dec 2020 06:37:10 PM UTC, comment #1: 

You mean when using --mouse?  Or when not using --mouse?

In the first case, I do not know how to do that.  And in the second case, it is ncurses that translates rolls of the mouse wheel into presses of the <Up> and <Down> keys -- nano has no influence over that.

Benno Schulenberg <bens>
Group administrator
Wed 30 Dec 2020 02:04:19 PM UTC, original submission:  

I think the title is self explain.
Maybe inside an option to not bother other configurations...

Tiago Almeida <tjapro>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by tjapro (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-19 bens StatusNeed Info Wont Fix
        Open/ClosedOpen Closed
    2021-01-15 bens StatusNone Need Info
    2020-12-31 bens Attached File- Added make-mousewheel-scroll-instead-of-moving-the-cursor.patch, #50590
    2020-12-30 bens Severity3 - Normal 1 - Wish
        SummaryWISH : The mouse wheel move the page instead of the cursor [Wish] let the mouse wheel scroll the page instead of moving the cursor

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code