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

QWidget::show triggers windows activation

XMLWordPrintable

    • WebAssembly
    • 3d89257ce4b2480ee0c636aefd608b780a81d235 (qt/qtbase/dev) 29efcef2625f4dec97cdf4ac1ca5290b63b52fb0 (qt/qtbase/6.2) 50fef4465c0ec3b10bdcdcb50ef9c14b288cc9e3 (qt/tqtc-qtbase/5.15)

      The attached example works fine on Windows, but runs into an infinite event recursion on Web Assembly as QWidget::show triggers Window::Activate events for non-windows with Web Assembly for unclear reasons. This is causing issues for our application where we can not easily avoid the show.

      To reproduce choose "Dock Widgets/Add Dialog window" in the running application.

      Its also not possible to set the focus inside the opened dialog. It will always return to the text edit in the main window.

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

            lpotter Lorn Potter
            alexj Alexander Jährling
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes