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

[REG 5.6->5.7] Windows: Mouse wheel events are not propagated to ForeignWindow properly

    XMLWordPrintable

Details

    • 145d8462e3daa96b49a921fd4a34cf4dc84071d4 (qtbase/5.7, 9.7.2016, 5.7.1)

    Description

      Refactoring change in commit https://codereview.qt-project.org/#/c/145236/ added a "... type != Qt::ForeignWindow" check in qwindowswindow.h file, windowsWindowOf() method, and this check prevents mouse wheel events from being propagated to a foreign parent window. Previous implementation baseWindowOf() did not have this check.

      The setup is as follows; Native HWND is wrapped to Qt by use of QWindow::fromWinId and a custom QWindows is added as a child to that window.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes