[Konsole-devel] [konsole] [Bug 170582] Configure Konsole Scroll Wheel Behavior

bitshifter at gmail.com bitshifter at gmail.com
Thu Aug 27 17:11:27 UTC 2015


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

bitshifter at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bitshifter at gmail.com

--- Comment #17 from bitshifter at gmail.com ---
I have a quick and dirty patch to eliminate the up/down arrow behavior of the
scroll wheel.  It would be fantastic if this was a configurable option, but if
you are like me and you just can't stand the current behavior this should get
you going.

--- a/src/TerminalDisplay.cpp   2013-06-28 13:14:47.138866898 -0400
+++ b/src/TerminalDisplay.cpp   2015-08-27 12:37:53.034042493 -0400
@@ -2410,6 +2410,8 @@
         if (canScroll) {
             _scrollBar->event(ev);
         } else {
+           // NO!!!! Do not send up/down key events.
+#if 0
             // assume that each Up / Down key event will cause the terminal
application
             // to scroll by one line.
             //  
@@ -2425,6 +2427,7 @@

             for (int i = 0; i < lines; i++)
                 emit keyPressedSignal(&keyEvent);
+#endif
         }   
     } else {
         // terminal program wants notification of mouse activity

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


More information about the konsole-devel mailing list