Bug 191476 - konsole scroll keyboard shortcuts are not configurable
Summary: konsole scroll keyboard shortcuts are not configurable
Status: RESOLVED DUPLICATE of bug 267100
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 218500 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-03 15:29 UTC by jonathan aquilina
Modified: 2011-07-19 02:17 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch from Ubuntu (Launchpad) bug #287916 (4.85 KB, patch)
2010-01-12 21:22 UTC, Richard Hansen
Details
Merged patch. (6.59 KB, patch)
2010-10-01 03:14 UTC, Karl Tomlinson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan aquilina 2009-05-03 15:29:59 UTC
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
Comment 1 pbda 2009-05-28 22:35:29 UTC
I like to have PageUp and PageDown keys (with or without Shift) sroll the page in Konsole like in others applications.
It seems impossible whatever I try in keymap. It seems to be the same bug. My configuration:
Kde 4.2.2
Mandriva 2009.1
Comment 2 Vitaliy Margolen 2009-11-19 08:21:36 UTC
Bug still here in 4.3.1. Any news on when it might get fixed? Patch already available.

OP Could you actually attach the patch here?
Comment 3 Leos Literak 2010-01-09 08:26:27 UTC
Please please, apply the patch from https://bugs.edge.launchpad.net/ubuntu/+source/kdebase/+bug/287916
It has already been submitted in year 2008! This bug is really annoying, for example Asus laptops cannot be used properly, as page up/down/home/end keys do not work. Try to use mc in konsole via these keys.
Comment 4 Richard Hansen 2010-01-12 21:22:37 UTC
Created attachment 39822 [details]
patch from Ubuntu (Launchpad) bug #287916

Copying the patch from the Ubuntu Launchpad bug report (https://launchpad.net/bugs/287916) to this bug report.
Comment 5 Karl Tomlinson 2010-10-01 01:41:51 UTC
This is a regression from KDE 3.5.

The patch looks reasonably simple.  What is the review process?
Comment 6 Karl Tomlinson 2010-10-01 03:14:03 UTC
Created attachment 52131 [details]
Merged patch.

Still works with 4.4.5, thanks!
Comment 7 pbda 2010-12-16 22:34:55 UTC
I have in my keytab:

key PgUp : ScrollPageUp
key PgDown : ScrollPageDown

but it's still impossible to scroll up and down with keys PgUp and PgDn (KDE 4.5.4)

This was xorking with KDE 3.5
Comment 8 Jekyll Wu 2011-07-18 12:42:26 UTC
I can't reproduce this problem with konsole-2.7.999.  

Following lines in default.keytab works well for me :

key Up +Alt : ScrollLineUp 
key Down +Alt : ScrollLineDown 
key PgUp : ScrollPageUp 
key PgDown : ScrollPageDown
Comment 9 Richard Hansen 2011-07-18 17:38:16 UTC
This was fixed under a duplicate bug report (bug #267100).
Comment 10 Kurt Hindenburg 2011-07-19 02:12:31 UTC

*** This bug has been marked as a duplicate of bug 267100 ***
Comment 11 Kurt Hindenburg 2011-07-19 02:17:40 UTC
*** Bug 218500 has been marked as a duplicate of this bug. ***