Priority: P2: Important
Affects Version/s: 5.6.1, 5.12
Fix Version/s: None
A QDialog is able to go behind its parent window depending on the order show() is called (or a series of hide()/show() calls): If the child is shown before the parent, then the child can go behind the parent when the parent is shown.
X11 exhibits the problem. Windows does not exhibit the problem (not tested elsewhere).
Attached is a tar that will reproduce the problem.
The code in the attached file is how I narrowed down the problem, but my actual situation involves more complex reasons that the parent window is reparented and setParent() unavoidably hides the child.
Also I tested Qt4.8 does not have this problem on X11. So it is both a regression and an inconsistency between platforms in current versions.
|For Gerrit Dashboard: QTBUG-56829|
|244221,9||xcb: fix issue with dialogs hidden by other windows||5.12||qt/qtbase||Status: MERGED||+2||0|