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

QApplication::keyboardModifiers returns wrong values when pressing/releasing multiple modifiers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.6.2
    • None
    • Qt 4.5 and 4.6, on X11, linux kubuntu, KDE4.

    Description

      On X11 at least, QApplication::keyboardModifiers gets confused quite easily, when pressing/releasing multiple modifiers.

      Case 1: press Shift (ok, it shows 0x02), press Alt, release Alt -> it now returns 0x1a instead of 0x02 (trailing zeros ommitted).

      Case 2: press Left Shift, press Right Shift -> it now returns 0, even though both shifts are still pressed

      Attachments

        For Gerrit Dashboard: QTBUG-10281
        # Subject Branch Project Status CR V

        Activity

          People

            paeglis Gatis Paeglis
            dfaure David Faure (Private)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes