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

QApplication::keyboardModifiers() returns wrong values if you press Windows+Up key right after the start of the application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.6
    • QPA: Windows

    Description

      Tested on Qt 4.8.6 on Windows8

      1) Start the application
      2) Press Windows+Up to maximize the window
      3) Release the keyboard (no key is pressed)
      4) The next call to QApplication::keyboardModifiers() will return that Alt key is pressed. Which is obviously not true. queryKeyboardModifiers() works fine.

      I didn't test it on Qt5. Probably, still actual.

      Attachments

        1. qtbug39578.zip
          1 kB
        2. qtbug39578_qt4_log.txt
          20 kB
        3. qtbug39578_qt5_log.txt
          22 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            dkazakov Dmitry Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes