e1afef3d45
Summary: When one uses: * breeze as of 5.12 * wobbly windows * shaded window * a distribution building with assert enabled and starts to move a shaded window, KWin asserts. The root cause for this is that WindowQuad::makeSubQuad has an assert for y1 being smaller than y2. With the combination listed above this is not guaranteed. For the left shadow quad the y1 and y2 are identical and thus trying to split it, results in the assert condition. The problem of the shadow quad having an invalid size might be addressed as well with D10811. Due to that the generation of the quads is not touched. Instead a sanity check is introduced to not try to split already invalid sized quads. BUG: 390953 FIXED-IN: 5.12.3 Test Plan: Added unit test hit the assert, now doesn't hit it any more Reviewers: #kwin, #plasma Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11015 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
fade_test.cpp | ||
slidingpopups_test.cpp | ||
translucency_test.cpp | ||
windowgeometry_test.cpp | ||
wobbly_shade_test.cpp |