[Bug 661829] Re: Cannot set up a trigger for the Calculator key

Bug Watch Updater 661829 at bugs.launchpad.net
Mon Jun 25 18:12:49 UTC 2012


Launchpad has imported 12 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=257900.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-11-25T18:31:05+00:00 Cycoone wrote:

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

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/2

------------------------------------------------------------------------
On 2011-01-01T09:31:28+00:00 Woelfel wrote:

I can confirm this on KDE 4.5.4., OpenSuSE 11.3 packages, with a
Microsoft Natural Ergonomic Keyboard 4000.

A workaround as posted at
http://forum.kde.org/viewtopic.php?f=17&t=89602 works for me: In
khotkeysrc and kglobalshortcutsrc I replaced the occurrences of "Launch
(1)" with "Calculator" (while not logged into KDE). After that the
calculator key starts the program assigned to it.

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/3

------------------------------------------------------------------------
On 2011-01-01T09:34:47+00:00 Woelfel wrote:

Bug 255329 is a duplicate of this one...

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/4

------------------------------------------------------------------------
On 2011-05-26T09:45:16+00:00 quantumphaze wrote:

I would like to confirm this problem in both KDE 4.5.5 on Ubuntu and
4.6.3 on Arch.

If you do the config file hack to force it manually, the menu editor
correctly displays "Calculator" as the hot key. If you then try to set
it by pressing the calculator key it sets it to Launch(1). Launch(1) is
actually a generic hot key sometimes found as Fn+F2/F3 on laptops.

I have tried this on Microsoft Digital Media keyboard 1.0a and Wireless
desktop 1000. Until someone says otherwise I think it's safe to assume
that it effects all MS keyboards with the calculator key.

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/5

------------------------------------------------------------------------
On 2011-09-26T09:42:47+00:00 quantumphaze wrote:

Still effects KDE 4.7.1

Can this please be marked as confirmed? It should effect any user with a
Microsoft keyboard.

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/7

------------------------------------------------------------------------
On 2011-10-03T14:56:28+00:00 Agostinelli wrote:

*** Bug 283249 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/8

------------------------------------------------------------------------
On 2011-12-15T06:07:30+00:00 Sendel2000-h wrote:

in KDE 4.7.1 still, with Logitech Internet Keyboard

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/13

------------------------------------------------------------------------
On 2012-02-13T16:00:25+00:00 Motosauro wrote:

Absolutely confirmed
I'm on Gentoo, KDE 4.7.4
and the problem is still there:
khotkeys stubbornly thinks that the calculator key on all of my keyboards is the "Launch (1)" key
I used a Microsoft ComfortCurve2000, a Logitech k750 and a Logitech k710 all with the same result, so I'm pretty sure it's not hardware related
All other multimedia Keys work as expected

xev reports this:
KeyPress event, serial 35, synthetic NO, window 0x6e00001,
    root 0x15d, subw 0x6e00002, time 133413435, (63,62), root:(1801,93),
    state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x6e00001,
    root 0x15d, subw 0x6e00002, time 133413535, (63,62), root:(1801,93),
    state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/14

------------------------------------------------------------------------
On 2012-02-13T16:11:30+00:00 Motosauro wrote:

(In reply to comment #7)
> Absolutely confirmed
> I'm on Gentoo, KDE 4.7.4
> and the problem is still there:
> khotkeys stubbornly thinks that the calculator key on all of my keyboards is
> the "Launch (1)" key
cut ...

Forgot to mention that for me too manually changing "Launch (1)" with
"Calculator" in both .kde4/share/config/khotkeysrc and
.kde4/share/config/kglobalshortcutsrc fixes the problem

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/15

------------------------------------------------------------------------
On 2012-02-18T14:05:12+00:00 Christoph-maxiom wrote:

*** Bug 263109 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/16

------------------------------------------------------------------------
On 2012-02-25T21:12:00+00:00 Lplegori wrote:

Created attachment 69094
This patch fix the bug

This patch fix the bug

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/17

------------------------------------------------------------------------
On 2012-02-26T10:13:39+00:00 Lplegori wrote:

Comment on attachment 69094
This patch fix the bug

>--- kdelibs-4.8.0/kdeui/util/kkeyserver_x11.cpp	2012-02-25 18:53:49.480771132 -0200
>+++ kkeyserver_x11.cpp	2012-02-25 18:20:38.912403430 -0200
>@@ -355,7 +355,7 @@
>     { Qt::Key_MediaRecord, XF86XK_AudioRecord },
>     { Qt::Key_LaunchMail, XF86XK_Mail },
>     { Qt::Key_Launch0,    XF86XK_MyComputer },
>-    { Qt::Key_Calculator,    XF86XK_Calculator },
>+    { Qt::Key_Launch1,    XF86XK_Calculator },
>     { Qt::Key_Memo,    XF86XK_Memo },
>     { Qt::Key_ToDoList,    XF86XK_ToDoList },
>     { Qt::Key_Calendar,    XF86XK_Calendar },

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/18

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-runtime in Ubuntu.
https://bugs.launchpad.net/bugs/661829

Title:
  Cannot set up a trigger for the Calculator key

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-runtime/+bug/661829/+subscriptions




More information about the kubuntu-bugs mailing list