← Back to team overview

ubuntustudio-bugs team mailing list archive

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

 

Has there been a regression? I'm seeing the same behaviour.

=== system ===

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.7.11-050711-generic
OS Type: 64-bit

=== xev output ===

KeyPress event, serial 40, synthetic NO, window 0x7600001,
    root 0x6cb, subw 0x0, time 20275320, (600,670), root:(600,699),
    state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x7600001,
    root 0x6cb, subw 0x0, time 20275432, (600,670), root:(600,699),
    state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

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

Title:
  Cannot set up a trigger for the Calculator key

Status in KDE Base Runtime:
  Fix Released
Status in kde-runtime package in Ubuntu:
  Fix Released

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,
      XKeysymToKeycode returns keycode: 140
      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
  ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Sat Oct 16 14:27:59 2010
  InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
  SourcePackage: kdebase-workspace

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