Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.5
-
None
-
-
3d89257ce4b2480ee0c636aefd608b780a81d235 (qt/qtbase/dev) 29efcef2625f4dec97cdf4ac1ca5290b63b52fb0 (qt/qtbase/6.2) 50fef4465c0ec3b10bdcdcb50ef9c14b288cc9e3 (qt/tqtc-qtbase/5.15)
Description
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.
Attachments
For Gerrit Dashboard: QTBUG-94918 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
363736,12 | wasm: fix window activation | dev | qt/qtbase | Status: MERGED | +2 | 0 |
378652,2 | wasm: fix window activation | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
378653,3 | wasm: fix window activation | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |