konsole scroll keyboard shortcuts are not configurable

Bug #287916 reported by Dmitry Prokoptsev
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KDE Base
Invalid
Medium
konsole
Fix Released
Wishlist
kdebase (Ubuntu)
Invalid
Low
Unassigned

Bug Description

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.

Revision history for this message
Dmitry Prokoptsev (dprokoptsev) wrote :
Revision history for this message
Harald Sitter (apachelogger) wrote :

Please open a bug report at http://bugs.kde.org and attach your patch. Then paste the report's URL here, so we can link them.
This change should go first into KDE trunk, then we can consider backporting to KDE 4.1 (or maybe KDE does).

Changed in kdebase:
importance: Undecided → Low
Changed in kdebase:
importance: Undecided → Unknown
status: New → Unknown
Changed in kdebase:
status: Unknown → New
Changed in kdebase:
status: New → Confirmed
Changed in kdebase (Ubuntu):
status: New → Triaged
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Closing the downstream bug as this is already being tracked upstream at KDE, and we will get the fix when they fix it.

Changed in kdebase (Ubuntu):
status: Triaged → Invalid
Changed in kdebase:
importance: Unknown → Medium
Revision history for this message
Richard Hansen (rhansen) wrote :

Fixed upstream: http://commits.kde.org/konsole/b88dfb402a8ba3afe317e4a0741bf999f84b68bc
Fix will be in version 4.7 when released.

Changed in konsole:
importance: Unknown → Wishlist
status: Unknown → Fix Released
Changed in kde-baseapps:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.