[konsole] [Bug 355106] button 4 and 5 (e.g. scroll wheel): scrolls bash history or output buffer

Kurt Hindenburg bugzilla_noreply at kde.org
Sat Mar 10 18:06:00 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=355106

Kurt Hindenburg <kurt.hindenburg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kon
                   |                            |sole/17c77a8729336c69bdeff9
                   |                            |70e3674d929b915b17
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |18.04

--- Comment #7 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 17c77a8729336c69bdeff970e3674d929b915b17 by Kurt Hindenburg, on
behalf of Ahmad Samir.
Committed on 10/03/2018 at 18:05.
Pushed by hindenburg into branch 'master'.

Only emulate up/down key presses for mouse scrolls on alternate screen

Summary:
Konsole sends up/down key press events for mouse scrolls for apps that
aren't interested in mouse events, such as less. Only do this when the
terminal is using the alternate screen.

Now scrolling up/down will be translated to up/down key presses only
when the terminal is using the alternate screen but scrolling in a terminal
using the primary screen will only scroll using the scrollbar, now it does
not cycle through the shell history.
Now the behavior matches xterm and and gnome-terminal.
FIXED-IN: 18.04

Reviewers: hindenburg

Reviewed By: hindenburg

Subscribers: rkflx, ngraham, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D11146

M  +2    -0    src/SessionController.cpp
M  +11   -5    src/TerminalDisplay.cpp
M  +10   -0    src/TerminalDisplay.h

https://commits.kde.org/konsole/17c77a8729336c69bdeff970e3674d929b915b17

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list