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

QKeyEvent::key() may return -1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.4.3
    • Fix Version/s: Some future release
    • Component/s: Core: Event loop
    • Labels:
      None
    • Commits:
      Change-Id: I9875437744455a2cce2da075c1fa6e2a91f55b63

      Description

      It has been reported that for keys like sleep and media (on enhanced keyboards), QKeyEvent:key() returns -1. Qt does not support these keys, so the return value should be 0 or Qt::Key_unknown.

        Attachments

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

          Activity

            People

            Assignee:
            paeglis Gatis Paeglis
            Reporter:
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes