diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-06-05 13:28:26 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-06-09 11:34:02 +0200 |
| commit | 0e656164e640ff2aca00e82b51b0f1019fd7802f (patch) | |
| tree | 4cbc75f4b9603394ce36b10d2554215d6b9900bf /src/corelib/kernel | |
| parent | 08c6d5c3fdfe9ad40053451ab3a9eb0492e273da (diff) | |
iOS: Compute window level when needed instead of up front in member var
When a popup widget is shown, it's first raised(), and then made visible.
In this scenario, the logic in QIOSWindow::setVisible() to compute the
window level was too late, and we ended up showing the popup below other
popups.
Instead of moving the window level computation earlier, we remove the
member variable and just compute the level when needed, as we do in
the Cocoa platform plugin.
Fixes: QTBUG-126052
Fixes: QTBUG-126044
Pick-to: 6.8 6.7
Change-Id: If5dbcdcf0500aed57b725bb8eb636fe076459130
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions
