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

WheelEvent on inactive window sometimes gives wrong sign of delta

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.5.0
    • None
    • Kubuntu 14.04 64 bit with Qt 5.5.0 installed from sources
    • d2c0ba3f3073322ca6c8390394c3ecf5f7593775

    Description

      See the attached test. To reproduce the problem:

      1. Launch the test
      2. Make sure the window is active
      3. Scroll mouse wheel up while hovering cursor over the window, see "++++..." the console output
      4. Scroll down, see "----..." in output
      5. Make the window inactive, e.g. by activating another window
      6. Repeat steps 3 and 4, seeing inconsistent output: in one direction of scrolling both "+++..." and "---" are printed.

      Attachments

        1. config.summary
          4 kB
        2. test.cpp
          0.8 kB
        3. test.cpp
          0.4 kB

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              10110111 Ruslan Kabatsayev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes