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

[Windows] Wheel events are redirected to translucent regions of translucent windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.6.0
    • QPA: Windows
    • None
    • Windows 7, 10
      Qt5.6

    Description

      Scenario

      • Opaque top level widget
      • Translucent window in front of it

      To reproduce:

      • Move mouse wheel over translucent region of translucent window
      • Expected: Opaque top level gets wheel events
      • Actual: translucent window gets wheel events

      The case is described in this StackOverflow question. To quote:

      Mouse clicks work as expected:

      • fall through transparent regions to the opaque widget;
      • get caught by transparent widget when clicked in its opaque areas.

      Wheel events always get caught by the transparent widget no matter where they occur.

      The same project does work correctly with Qt4.8.

      Attachments

        1. qtbug53418_diag.diff
          1 kB
        2. qtbug53418_nonrepro.zip
          2 kB
        3. qtbug53418.zip
          2 kB
        4. TranslucentWindowTest.zip
          3 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
              vines Andrei Vinokurov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes