<table><tr><td style="">broulik retitled this revision from "[PanelView] Don't emit availableScreenRegionChanged just because we set a new length" to "[PanelView] Emit availableScreenRegionChanged in resizeEvent, not when setting a new length".<br />broulik updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-g2c44qogjykhyul/" rel="noreferrer">(Show Details)</a><br />broulik updated the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-atfmhfkylvszbmj/" rel="noreferrer">(Show Details)</a><br />broulik updated this revision to Diff 11285.<br />broulik added a comment.
</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/D4590" rel="noreferrer">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">Emit signal from resizeEvent of panelview</li>
</ul></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;">The panel length might not actually change depending on minimum and maximum size constraints<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"> and this is the wrong place to do this in the first place</span>.</div></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;">While messing with the dekstop containment layouting mechanism I found that it would re-layout sometimes without obvious reason; closing some applet popups (e.g. kickoff) would cause a re-evaluation of the preferredWidth of the panel which eventually would end up calling setLength with a slightly different size causing us to emit this signal.<br />
<br />
<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">Not completely sure why that is</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">Resized a panel</span>, <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">perhaps some Layout weirdness but in any case this is an optimization that makes sens imho</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">stuff on desktop automatically re-layouted</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D4590?vs=11264&id=11285" rel="noreferrer">https://phabricator.kde.org/D4590?vs=11264&id=11285</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4590" rel="noreferrer">https://phabricator.kde.org/D4590</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/panelview.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>mart, davidedmundson, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>