regarding keyboard shortcuts

Chuck Robey chuckr at telenix.org
Wed Mar 25 01:56:52 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Richard Tyrer wrote:
> 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
>>>
>> 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.
> 
> 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.
> 

I wanted to use the qt4-qtdemo port to build me a qt-style hello-world, looks
like that's not possible.  X11's xev and "xmodmap -pke" along with kde3.5 all
agree about the numeric keypad's keynames all starting with KP_.  What's making
me suspect qt is 3 things: the two PRs I found about problems with misidentified
keys, but mainly, the fact that qt4's include files seem to know about a
numeric-keypad modifier (like Shift_L for the shift key) when X11 doesn't have
any such thing.  I haven't yet got the Qt hello-world yet, more than a little
because I'm not such a hot C++ coder.  I'm still reading code now.  I know now
how to write a qt-style printf, and where to grab Qt's events from.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknJj2QACgkQz62J6PPcoOmb8wCeMvIuRyJj/CoVzWnYgdSZMXFS
lIYAn1tMLzjQs98KHMQ+JE+rHwNnpbRm
=uB3X
-----END PGP SIGNATURE-----
___________________________________________________
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