QDockWidget child window disappear [BUG]
I have a button on QDockWidget.
When user press the button I create the QDialog and show it (dlg-show()).
And here we have the two cases:
Case (1): If the QDockWidget was in dock and we press the button, the QDialog is always be visible, independed from what we are doing with QDockWindow (we can undock and dock it again).
Case (2) if the QDockWidget was out of dock and we press the button for show dialog, the QDialog will be visible, BUT only before we return the QDockWidget to dock.
Is it bug?
"This is link on simply demo project.":ftp://RSDN:RSDN@nen777w.no-ip.org/dock_test.zip
The behavior is strange indeed. You should have a look at the "bug report system":http://bugreports.qt-project.org to see if something similar has been reported. If not, you should open a new open providing a minimal compilable example that shows the behavior
I opened the bug "here":https://bugreports.qt-project.org/browse/QTBUG-36666
The report says it has been fixed