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

[REG 5.15.0 b3->5.15.0] window embedded using QWinWidget not receiving any event (Qt MFC solution) in some integrations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.15.0 Beta4, 5.15.0
    • Fix Version/s: 5.15.1
    • Component/s: Core: Event loop, Core: I/O
    • Labels:
      None
    • Environment:
      Windows 10, MSVC 2017
    • Platform/s:
      Windows
    • Commits:
      33e6e5fac3c86805b1b4e744462645cac8c8a044 (qt/qtbase/dev) 4b6de83bcc42b742ee9cceb3f294302d242b9de7 (qt/qtbase/5.15)

      Description

      This is a very specific bug, but very blocking for me :

      When embedding a Qt window as a plugin within a (non-Qt) host app, using QWinWidget ( https://github.com/qtproject/qt-solutions/tree/master/qtwinmigrate/src ), my Qt window displays once and then no longer refresh (unless during a resize), and no longer receive any input event (such as mouse or keyboard).
      For a little more context, I'm developping a VST3 plugin using Qt for the host app Cubase.

      The issue occurs in the Steinberg Cubase and Steinberg Nuendo integrations, but not in Presonus Studio One or Cockos Reaper integrations using the VST3 plugin.

      I've narrowed down the problem to this commit:

      QEventDispatcherWin32: fix posted events delivering

      https://github.com/qt/qtbase/commit/e0d80167c18b5a71acf4dac59f3e6f37292fa397#diff-76b4b966aaac13e64f6c131c1411fab8 https://codereview.qt-project.org/c/qt/qtbase/+/294403

      Right before this commit everything works as expected, and after it's applied the problem occurs.

      Any way this commit could be reverted or fixed ?

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              alex1973tr Alex Trotsenko
              Reporter:
              divide Robin Lobel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes