Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
4.8.x, 5.6.2, 5.8.0, 5.9.1
-
Windows 10, Linux
Description
When a parent widget/window is minimized all its child widget windows are hidden too. It is not possible to set the child visible while the parent is in minimized state. This works fine so far. Now, if one calls hide()/setVisible(false) on the child widget the behavior changes. Combining hide() and show() results in the child widget being shown.
Steps to reproduce:
1. Run the sample attached
2. Hide the mainwindow by clicking the 'Minimize' symbol -> The mainwindow along with the child widget is hidden.
3. Click 'Show Child' button -> Nothing happens. The parent prevents the child from making itself visible. Works as it should.
4. Click 'Hide Child' button.
5. Click 'Show Child' button
EXPECTED: Nothing happens.
ACTUAL: The child window is shown.