<table><tr><td style="">graesslin created this revision.<br />graesslin added reviewers: Plasma, KWin.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: kwin, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8956" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Commit <a href="https://phabricator.kde.org/R108:188491d3922180f1e1bba8fa2cd3fd2aa4a527c0" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">188491d3922180f1e1bba8fa2cd3fd2aa4a527c0</a> introduced a regression<br />
in ShellClient and broke the QuickTiling test - sorry about that.</p>
<p>This change fixes the failing test. The main reason was a slight change<br />
in semantics of setGeometry. But the real problem is/was that the<br />
geometry update blocking is not supported in ShellClient.</p>
<p>This change brings in the checks from Client to ShellClient, thus that<br />
the geometry is properly blocked and when unblocked the geometry is<br />
updated correctly or a request is sent. What makes it rather difficult is<br />
that the geometry update blocker operates on an updated geom while<br />
ShellClient::setGeometry needs to compare to the original geom to<br />
determine whether a direct update or a request is required.</p>
<p>Thanks to supporting geometry update blocking the changeMaximize calls<br />
are adjusted to use setGeometry instead of requestingGeometry directly.</p>
<p>Overall this is an important improvement and might also allow us to no<br />
longer require the special RequestGeometryBlocker in ShellClient.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tests pass</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>geometry-update-blocker-shell-client</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8956" rel="noreferrer">https://phabricator.kde.org/D8956</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell_client.cpp</div></div></div><br /><div><strong>To: </strong>graesslin, Plasma, KWin<br /><strong>Cc: </strong>plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart<br /></div>