regarding keyboard shortcuts

James Richard Tyrer tyrerj at acm.org
Tue Mar 24 23:33:10 GMT 2009


Chuck Robey wrote:
> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> 
> James Richard Tyrer wrote:
>> Chuck Robey wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>> 
>>> I seem to be having a couple of problems in trying to get
>>> keyboard shortcuts that I had under KDE3.5 working under KDE4.2.
>>> I will give you the one that bothering me the most, today.
>>> 
>>> It's the use of the 2, 4, 6, and 8 keys on the numeric keypad
>>> (the ones which have the arrows on them).  They were announced
>>> under the old regime as KP2, KP4, KP6, and KP8, but in my latest,
>>> it seems to be naming the keys indentically to the small
>>> application -cursor keys to the immediate left of the numeric
>>> keypad (I don't know the name of that little 4 key area), so
>>> they're announced as "up", "down", "left", and "right", and it
>>> won't let me use those numeric keypad keys. Since the name is the
>>> same, I can't seem to grab those arrow keys in the numeric
>>> keypad, at all.  I wish to switch up, down, left, and right for 
>>> desktops, considering that I run 9 in a 3x3 physical matrix.
>>> 
>> This is odd.  I suspect that the problem might be in Qt.  However,
>> you should check to see that X11 is doing this correctly.  In a
>> Konsole, execute:
>> 
>> xev
>> 
>> and then put the mouse cursor in the little window that opens.  Now
>> when you type, it will report the X events in the Konsole window.
>> I tried it and it reports the key pad key events with the "KP_"
>> prefix.  If this works on yours, then it is probably a Qt bug.
>> 
> 
> I have a little problem believing it has anything to do with X11.

I agree.  However, when bug hunting, it is always best to check everything.

> Most obvious reason is that both KDE3.5 and Gnome are working just
> fine here, secondly, here's one line from xmodmap -pke:
> 
> keycode  80 = KP_Up KP_8 KP_Up KP_8 KP_Up KP_8
> 
> KDE4.2 thinks this is the "up" key, which helps not at all.  Well, I
> checked with xev anyhow, just to satisfy, and it's reporting exactly
> what xmodmap is, what kde3.5 is, and what KDE4.2 isn't.
> 
> What I can't tell yet is if it's something odd with the FreeBSD
> implementation, or just the base KDE4.2.  If you run Linux there, and
> KDE4.2, you could tell me that, just make sure you're hitting the 8
> key FROM THE nermeic keypad, not the main keys.  It's the numeric
> keypad's missing "KP_" that is breaking things here.

I will do as soon as I am able.  I upgraded X11 and now KDE-4.2.1 
crashes when I click the mouse.  KDE-3.5 still works find.  Hope to have 
it fixed by tomorrow.

-- 
JRT

Linux (mostly) From Scratch

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list