Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.4.0, 6.4.2
-
None
-
webassembly
-
-
a596ea0fe (dev)
Description
When using webassembly, using qdialog cannot use the top function。The code example is as follows:
dialog->resize(100,100);
dialog->setWindowFlag(Qt::WindowStaysOnTopHint);
dialog->showNormal();
As shown in the figure above, when I click the button to call up the dialog window, I will click the main page, that is, the dialog window will lose focus, and it will be blocked by the page that gets the focus, that is, the global top function will fail, and the entire page will not be able to return to the dialog window at this time.
See attachment for code example.