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

QKeyEvent: wrong key value with Qt::ShiftModifier

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.1.0 , 5.1.1
    • None
    • Windows 7 64 Bit

    Description

      The value returned by QKeyEvent::key() for keys that need the shift key changed between Qt 5.0.2 and Qt 5.1.0.

      On german keyboard the double quote (") character needs the shift key (Shift+2).

      Qt 5.0.2
      QKeyEvent contained the values key = 34 (Qt::Key_QuoteDbl), modifiers = Qt::ShiftModifier and text = ".

      Qt 5.1.0
      QKeyEvent now contains the values key = 50 (Qt::Key_2), modifiers = Qt::ShiftModifier and text = ".

      Qt 5.1.1 (MinGW 4.8)
      QKeyEvent now contains the values key = 50 (Qt::Key_2), modifiers = Qt::ShiftModifier and text = ".

      Attachments

        Issue Links

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

          Activity

            People

              owolff Oliver Wolff
              cloose Christian Loose
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes