Bug 172411 - up key does not work in most apps
Summary: up key does not work in most apps
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2008-10-08 19:45 UTC by Johannes
Modified: 2018-10-21 04:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
xev output for non-working Up key (677 bytes, text/plain)
2010-02-16 03:15 UTC, kristof.ralovich
Details
xev output for working Down key (558 bytes, text/plain)
2010-02-16 03:18 UTC, kristof.ralovich
Details
Output from "xkbcomp :0 - " (116.39 KB, text/plain)
2010-02-16 03:45 UTC, kristof.ralovich
Details
xorg.conf (728 bytes, application/octet-stream)
2010-02-16 04:55 UTC, kristof.ralovich
Details
Xorg.0.log (28.21 KB, application/octet-stream)
2010-02-16 04:58 UTC, kristof.ralovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes 2008-10-08 19:45:23 UTC
Version:           4.1.68 (using Devel)
Compiler:          gcc version 4.1.2 20070214 (  (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.1)  
OS:                Linux
Installed from:    Compiled sources

the up key is ignored in most applications. If I press the up key on my keyboard nothing happens all other keys work fine. The up key also works perfectly if i use twm instead of kde... I tried to change the keyboard settings with the "Regional & LAnguage" Settings but now the up key acts as screenshot key.... I suppose it could have to do something with the fact that I changed to autodetecting the keyboard with evdev...
Comment 1 Johannes 2008-10-08 19:57:25 UTC
xev give following output when pressing up key:
"
KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   4294967168 0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

KeyRelease event, serial 34, synthetic NO, window 0x2c00001,
    root 0x1a6, subw 0x0, time 19946971, (85,168), root:(90,193),
    state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
"

so it does not give a KeyPressed event like other keys....
Comment 2 Johannes 2008-10-09 17:21:06 UTC
shift+up works ctrl+up does not work..
Comment 3 Vasiliy 2008-11-15 18:07:22 UTC
I have the same problem with KDE 4.1.3, compiled from portage with gcc 4.3.2 on Gentoo. When KDE starts, up key doesn't work at all. But if I kill X with Ctrl+Alt+Backspace, and start KDE again, up key will work. It is inconvenient way to run KDE, because you need to relogin every time you started computer.
Comment 4 Michael Jansen 2009-05-18 18:23:33 UTC
Does the problem still exist? 

@Visiliy: Do you use evdev too?
Comment 5 Michael Jansen 2009-05-24 00:30:04 UTC
No info since one week
Comment 6 kristof.ralovich 2010-02-16 03:06:09 UTC
I would like to confirm having the same issue on Debian (stable/testing/unstable/experimental).

Linux t500 2.6.32.8 #1 SMP Wed Feb 10 12:10:32 EST 2010 x86_64 GNU/Linux
ii  xserver-xorg-input-evdev      1:2.3.2-3
ii  libc6                         2.10.2-2
ii  udev                          149-2
ii  xserver-xorg-core             2:1.7.4-1
all KDE4 packages version         4:4.3.4-1
Comment 7 kristof.ralovich 2010-02-16 03:15:15 UTC
Created attachment 40827 [details]
xev output for non-working Up key
Comment 8 kristof.ralovich 2010-02-16 03:18:57 UTC
Created attachment 40828 [details]
xev output for working Down key
Comment 9 kristof.ralovich 2010-02-16 03:23:39 UTC
(In reply to comment #6)
> I would like to confirm having the same issue on Debian
> (stable/testing/unstable/experimental).
> 
> Linux t500 2.6.32.8 #1 SMP Wed Feb 10 12:10:32 EST 2010 x86_64 GNU/Linux
> ii  xserver-xorg-input-evdev      1:2.3.2-3
> ii  libc6                         2.10.2-2
> ii  udev                          149-2
> ii  xserver-xorg-core             2:1.7.4-1
> all KDE4 packages version         4:4.3.4-1

Forgot to mention, the same Up key (and everything else) works if I only run xinit which just spawns a X server + xterm, but under KDE4 it is not working.

System Settings -> Regional & Language -> Keyboard Layout -> Keyboard model is set to "Evdev-managed keyboard".
Comment 10 kristof.ralovich 2010-02-16 03:33:59 UTC
$ setxkbmap -print

xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include
"pc+us+hu:2+inet(evdev)+terminate(ctrl_alt_bksp)"       };
        xkb_geometry  { include "pc(pc104)"     };
};
Comment 11 kristof.ralovich 2010-02-16 03:45:10 UTC
Created attachment 40830 [details]
Output from "xkbcomp :0 - "
Comment 12 kristof.ralovich 2010-02-16 03:47:12 UTC
All the attachments were made under KDE4.

Also for some appications I can use Super+Up to replace the missing Up key.
Comment 13 kristof.ralovich 2010-02-16 04:55:02 UTC
Created attachment 40831 [details]
xorg.conf
Comment 14 kristof.ralovich 2010-02-16 04:58:00 UTC
Created attachment 40832 [details]
Xorg.0.log
Comment 15 Michael Jansen 2010-02-16 10:56:44 UTC
This is a X11 issue. It has nothing to do with kde. Look at http://bugs.gentoo.org/153115 for some possible solutions.
Comment 16 kristof.ralovich 2010-02-16 14:29:56 UTC
(In reply to comment #15)
> This is a X11 issue. It has nothing to do with kde. Look at
> http://bugs.gentoo.org/153115 for some possible solutions.

I am not convinced this a X11 issue. Let me reiterate what I have written in #9.

If I execute xinit, which just runs the X server and a xterm without any window manager, etc. the Up key works.

If I execute startx, which runs X server and "whole" KDE4 the Up key is not working any more.

So for me the problem depends on the presence of KDE4!
Comment 17 kristof.ralovich 2010-02-17 02:54:19 UTC
I have made additional experiments. If I run KDE4 with startx Up key is not working, however if I start kdm the Up key works and keeps working after logging into KDE4 through kdm.
Comment 18 Andrew Crouthamel 2018-09-20 22:01:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 19 Andrew Crouthamel 2018-10-21 04:24:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!