Cannot set up a trigger for the Calculator key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Base Runtime |
Fix Released
|
Medium
|
|||
kde-runtime (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kdebase-runtime
It is not possible to assign an action to the Calculator key in the keyboard (XF86Calculator). The key produces the correct symbol, as verified by xev:
KeyPress event, serial 34, synthetic NO, window 0x4e00001,
root 0x15a, subw 0x0, time 3196197, (1134,-210), root:(1138,622),
state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XKeysymToKe
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
But KDE won't properly register it. To reproduce the bug:
1. Open System Settings -> Shortcuts and Gestures -> Custom Shortcuts
2. Add a new Global Shortcut (Type: Command/URL)
3. Set the Trigger by clicking the Shortcut button and pressing the Calculator key in the keyboard.
4. Instead of "Calculator" or "XF86Calculator", the result is the strange "Launch (1)", that doesn't seem appropriate.
5. Set the Action to kcalc or speedcrunch, and save the changes.
6. Press the Calculator key in the keyboard, nothing happens.
It is possible this be a problem with Qt. Further investigation is necessary.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: kdebase-workspace 4:4.5.1-0ubuntu8
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Oct 16 14:27:59 2010
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008)
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: kdebase-workspace
Changed in kdebase-runtime (Ubuntu): | |
status: | New → Confirmed |
Changed in kde-runtime: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in kde-runtime: | |
status: | Confirmed → Invalid |
Changed in kde-runtime: | |
status: | Invalid → Confirmed |
Changed in kde-runtime: | |
status: | Confirmed → Fix Released |
Changed in kde-runtime (Ubuntu): | |
status: | New → Fix Released |
Changed in kde-runtime: | |
status: | Fix Released → Confirmed |
Changed in kde-runtime: | |
status: | Confirmed → Fix Released |
Version: unspecified (using KDE 4.5.3)
OS: Linux
I have been trying to use the calculator key on my Microsoft Multimedia Pro keyboard to launch kcalc. I tried setting it up as a global shortcut under custom actions, and through the edit menu dialog.
When I press the Calculator button it is registered in the trigger as Launch(1) but after clicking apply it doesn't have any effect. Using another shortcut like Meta+c works as expected.
xev for that key shows the following:
KeyPress event, serial 34, synthetic NO, window 0x5000001,
root 0x107, subw 0x0, time 13592514, (763,758), root:(766,781),
state 0x0, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
Reproducible: Always
Steps to Reproduce:
Right click K-menu and choose Menu Editor
Click on the KCalc entry
Click Advanced
Click the button beside Current Shortcut Key
Press the Calculator key (Launch(1) will show up on the button)
Click save settings
Press the calculator key
Actual Results:
Nothing
Expected Results:
KCalc should open