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

Back / Forward buttons on mouse also cause keyboard event for the same event always

    XMLWordPrintable

Details

    • 389b4ec28b6bb402d3575ff9c648ef878257ea84 (qtbase/5.6, 23.11.2016, 5.6.3)

    Description

      When clicking back / forward buttons on mouse (fex MS IntelliMouse Explorer 3), keyboard event for the same back / forward is always received too. This effectively leads to double back / forward events. If mouse is hovering the Window title when back / forward is pressed, mouse button click event for the back / forward is not received at all, but keyboard event is still received.

      Steps to reproduce:

      • Run attached sample
      • Click back and forward buttons on mouse (or tilting the wheel on mouses that support it)
      • Click back and forward buttons while mouse is hovering title bar
      • Observe the log output
      • EXPECTED: Only one back / forward event is received
      • ACTUAL: Double event is received, one for mouse click and one for keyboard press, on title bar only keyboard press is received

      Qt documentation states that some mouse drivers cause keyboard press event to be sent instead of mouse click for the extended buttons, but does not state that double event is sent.

      Attachments

        1. qtbug57198_diag.diff
          2 kB
        2. qtbug57198_log.txt
          0.9 kB
        3. qtbug57198.zip
          1 kB
        4. qtbug57198.zip
          0.9 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              jussi_witick Jussi Witick
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes