Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8956

Some keys are undefined in Qt

    XMLWordPrintable

Details

    Description

      Some Keyboars for example the newer Microsoft Keyboards have some extra keys that where not recognised by QT.
      X11 knows that keys.

      The Keys are: Undo, Redo, XF86New, SunOpen

      $ xev
      [...]
      KeyPress event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6675299, (-534,170), root:(1104,193),
      state 0x0, keycode 139 (keysym 0xff65, Undo), same_screen YES,
      XLookupString gives 0 bytes:
      XmbLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyRelease event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6675451, (-534,170), root:(1104,193),
      state 0x0, keycode 139 (keysym 0xff65, Undo), same_screen YES,
      XLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyPress event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6676019, (-534,170), root:(1104,193),
      state 0x0, keycode 190 (keysym 0xff66, Redo), same_screen YES,
      XKeysymToKeycode returns keycode: 137
      XLookupString gives 0 bytes:
      XmbLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyRelease event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6676163, (-534,170), root:(1104,193),
      state 0x0, keycode 190 (keysym 0xff66, Redo), same_screen YES,
      XKeysymToKeycode returns keycode: 137
      XLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyPress event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6677523, (-534,170), root:(1104,193),
      state 0x0, keycode 189 (keysym 0x1008ff68, XF86New), same_screen YES,
      XLookupString gives 0 bytes:
      XmbLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyRelease event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6677683, (-534,170), root:(1104,193),
      state 0x0, keycode 189 (keysym 0x1008ff68, XF86New), same_screen YES,
      XLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyPress event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6678043, (-534,170), root:(1104,193),
      state 0x0, keycode 142 (keysym 0x1005ff73, SunOpen), same_screen YES,
      XLookupString gives 0 bytes:
      XmbLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyRelease event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6678227, (-534,170), root:(1104,193),
      state 0x0, keycode 142 (keysym 0x1005ff73, SunOpen), same_screen YES,
      XLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyPress event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6690083, (-534,170), root:(1104,193),
      state 0x0, keycode 146 (keysym 0xff6a, Help), same_screen YES,
      XLookupString gives 0 bytes:
      XmbLookupString gives 0 bytes:
      XFilterEvent returns: False

      KeyRelease event, serial 34, synthetic NO, window 0x5000001,
      root 0x142, subw 0x0, time 6690243, (-534,170), root:(1104,193),
      state 0x0, keycode 146 (keysym 0xff6a, Help), same_screen YES,
      XLookupString gives 0 bytes:
      XFilterEvent returns: False
      [...]

      On a Cherry CyMotion Linux "CYA Model 210XX" the following keys aren't recognised:
      (Gentoo Linux, Qt-4.6.2)

      keycode 151 (keysym 0x1008ff2b, XF86WakeUp)
      keycode 150 (keysym 0x1008ff2f, XF86Sleep)
      keycode 169 (keysym 0x1008ff2c, XF86Eject)
      keycode 136 (keysym 0xff69, Cancel)
      keycode 185 (keysym 0x1008ff78, XF86ScrollUp)
      keycode 186 (keysym 0x1008ff79, XF86ScrollDown)
      keycode 145 (keysym 0x1008ff58, XF86Cut)
      keycode 143 (keysym 0x1008ff6d, XF86Paste)
      keycode 141 (keysym 0x1008ff57, XF86Copy)
      keycode 190 (keysym 0xff66, Redo)
      keycode 139 (keysym 0xff65, Undo)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              paeglis Gatis Paeglis
              trunneml Michael Trunner
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes