[Konsole-devel] [Bug 191476] New: konsole scroll keyboard shortcuts are not configurable

jonathan aquilina eagles051387 at gmail.com
Sun May 3 13:30:00 UTC 2009


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

           Summary: konsole scroll keyboard shortcuts are not configurable
           Product: konsole
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: eagles051387 at gmail.com


Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    I Don't Know

Binary package hint: kdebase

The *.keymap files for Konsole seem to allow to rebind ScrollLineUp,
ScrollPageUp, etc... commands from thier default key bindings (Shift+{Arrows,
PgUp, PgDn}). However, default key bindings are actually hardcoded in Konsole
and cannot be changed (see
http://websvn.kde.org/trunk/KDE/kdebase/apps/konsole/src/TerminalDisplay.cpp?view=markup,
look for TerminalDisplay::keyPressEvent() for details).
More formally, if you set up the keymap file like the following:
key Down -AnyMod : "\E[B"
key Down -Alt+AnyMod : "\E1;*B"
key Down +Alt : ScrollLineDown

-- and restrart Konsole, its buffer is still scrolled with Shift+Arrows, and
Alt+Arrows simply stop being delivered to the application inside Konsole, while
I expect Alt+Arrows to scroll the buffer, and Shift+Arrows to be delivered
inside Konsole.

The bug reproduces in Kubuntu 8.10 (kdebase-4.1.2-0ubuntu4), but actually it is
old enough (1.5 years) and still not fixed in kde's HEAD (see the link above).

A patch fixing the described problem is attached. Hope it'll be useful.

the bug can be found at
https://bugs.edge.launchpad.net/ubuntu/+source/kdebase/+bug/287916

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list