Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.12.0 Alpha
-
None
-
Linux, wayland
Description
Since 5.12 (c5ab40) I get into a condition where new windows don't appear
We call setGeometry (so sent mIniitalResize is true)
We show a window
We hide a window
At this point I get setCanResize(false)
I show the window, mCanResize doesn't change
We get a configure event back
mCanResize is still false, mSentInitialResize is true so we don't apply the configure
sendExposeEvent fails the check mShellSurface->handleExpose) as the configure event is not accepted
The window doesn't get shown
Test:
https://cgit.kde.org/plasma-framework.git/tree/tests/dialog_positioning.qml
click popup twice. Second doesn't appear
Will require running under kwin with plasma installed, but Johan has this.
Plasma:Popup does do horrible things, and I don't' see this issue for other windows.I /think/ it's us calling QWindow::setPosition at odd points, commenting them out does "fix it".
I'll try and write a smaller test case.