diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-09-23 17:16:13 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-07 12:54:10 +0200 |
| commit | 51300566ffe2ece2455e1d0479a556c5dbb3bb8e (patch) | |
| tree | ce5c7886ba97437a6a77f28faf418734525434ae /src/sql/doc/snippets/code | |
| parent | 5d174877234477a59eb29818d3cfb99fedc3e704 (diff) | |
Fix closing and showing a window with a native child
Closing a window with a native child results in the native child's
QWidgetWindow being closed. That explicitly calls setVisible(false)
on the child, which will still have the ExplicitShowHide attribute
set from the initial (explicit) show. Even though we then reset
the ExplicitShowHide, the WState_Hidden attribute will still be
set, so Qt considers the window to have been hidden, and not show
it again when the parent becomes visible.
Add a test case.
Fixes: QTBUG-96286
Fixes: QTBUG-79012
Fixes: QTBUG-71519
Change-Id: I482e6d5236c959d82ce66798176b259a3176972c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
