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

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

XMLWordPrintable

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

      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.

        1. TranslucentWindowTest.zip
          3 kB
          Andrei Vinokurov
        2. qtbug53418.zip
          2 kB
          Friedemann Kleint
        3. qtbug53418_nonrepro.zip
          2 kB
          Friedemann Kleint
        4. qtbug53418_diag.diff
          1 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            vines Andrei Vinokurov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes