Bug 164915 - up and down key don't work
Summary: up and down key don't work
Status: RESOLVED WORKSFORME
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:
Depends on:
Blocks:
 
Reported: 2008-06-25 11:27 UTC by Dario Panico
Modified: 2008-07-06 11:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (30.38 KB, image/png)
2008-06-25 13:27 UTC, Dario Panico
Details
$KDEDIR/share/apps/konsole/default.keytab (4.77 KB, text/plain)
2008-06-25 13:31 UTC, Dario Panico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dario Panico 2008-06-25 11:27:37 UTC
Version:           2.1 (using 4.00.83 (KDE 4.0.83 (KDE 4.1 Beta2), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.24-19-generic

How to reproduce:
- launch konsole
- press up key to see last command typed and nothing happens
- this way it's impossible to check if down key works

Other arrows work correctly, up and down don't do nothing in every situation in konsole.
I almost forgot to say that in other apps even in kde4 ones those keys are working fine.
Comment 1 Robert Knight 2008-06-25 12:08:25 UTC
When the shell opens, run "cat" and press the up/down keys.  Please let me know what is printed to the terminal.  You should see ^[[A and ^]]B
Comment 2 Dario Panico 2008-06-25 12:12:01 UTC
no, nothing is shown. Directly in the shell (tty2) it works as you said
Comment 3 Robert Knight 2008-06-25 12:16:16 UTC
Hi Dario,

Go to Settings -> Edit Current Profile -> Input tab and check that "Default (XFree 4)" is selected.  

When it is selected, click Edit.  In the dialog that appears the list should be populated with a list of mappings from keys to character sequences, click on the Input edit box and press the Up/Down arrow keys.  You should see "\E[A" and "\E[B" appear in the output box.  
Comment 4 Dario Panico 2008-06-25 12:17:56 UTC
no, nothing. works well for left-right
Comment 5 Robert Knight 2008-06-25 12:31:37 UTC
Are there entries in the dialog's table for "Down-Shift..." and "Up-Shift..."?
Comment 6 Robert Knight 2008-06-25 12:42:07 UTC
If not, check the key bindings files on which they are based, which will be in $YOUR_KDE_DIR/share/apps/konsole/default.keytab and $KDEHOME/share/apps/konsole/*.keytab

(replace $KDEHOME with ~/.kde if not set)

If the Up/Down entries are missing from there then I suggest removing the .keytab files and the ones from your source checkout (in kdebase/apps/konsole/data/keyboard-layouts), updating from SVN again (svn up) and then reinstalling konsole.
Comment 7 Dario Panico 2008-06-25 13:27:00 UTC
Created attachment 25598 [details]
screenshot

it seems that they are set
Comment 8 Dario Panico 2008-06-25 13:31:20 UTC
Created attachment 25599 [details]
$KDEDIR/share/apps/konsole/default.keytab

even here those seem to be set
Comment 9 Robert Knight 2008-06-25 13:59:06 UTC
1.  What happens when you press Up/Down with the shift key pressed in the input test area?
2.  Do the Up/Down keys produce any results in the other key bindings (eg. Linux console, Solaris console)?
3.  Do the Up/Down keys work to navigate the list views in the settings dialog (eg. the key bindings list or the color scheme list on the Appearance tab)
4.  If you add new mappings for "Up-Shift" and "Down-Shift" in the key binding editor (eg. Up-Shift mapped to "test-up" and "Down-Shift" mapped to "test-down") do they appear in the input test area?

Comment 10 Dario Panico 2008-06-25 14:18:43 UTC
1. input field	Up+Shift-AppScreen	Down+Shift-AppScreen
   output 	ScrollLineUp		ScrollLineDown
2. no, nothing
3. they work to navigate the GUI
4. i'm sure to have understood. anyway if i add a new entry, type Up-shift and the other field test-up, pressing Shift-Up prints what i've written before.
Obviously Shift-up in the konsole prompt scrolls lines up not last commands
Comment 11 Dario Panico 2008-07-03 16:24:23 UTC
I found that the bug affects even input fields (like the one i'm writing in with konqueror) and kwrite, too. Probably the issue is related to kdelibs then, but this odd bug is still here (after some svn updates).
Comment 12 Robert Knight 2008-07-03 23:54:04 UTC
Go to System Settings -> Regional & Language -> Keyboard Layout and check that the settings there do match your keyboard layout.
Comment 13 Dario Panico 2008-07-04 09:37:20 UTC
keyboard layout was disabled, then i enabled it and set to the right one. Nothing changed, still the same bug.
Comment 14 Dario Panico 2008-07-06 11:16:43 UTC
In the last update (KDE 4.0.85 (KDE 4.1 >= 20080703)) everything seems to be fine. I'll mark the bug as resolved.