<table><tr><td style="">Zren created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />Zren requested review of this revision.
</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/D26681">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Cleaned up my code from <a href="https://github.com/Zren/kwin-tabbox-thumbnail_grid" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/Zren/kwin-tabbox-thumbnail_grid</a></p>

<p>The column is calculated recursively, but survived a stress test.<br />
<a href="https://github.com/Zren/kwin-tabbox-thumbnail_grid/pull/2" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/Zren/kwin-tabbox-thumbnail_grid/pull/2</a></p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>I tested when "show desktop" is configured to be hidden since I know it didn't like it with modding by 0 items in the python test. "show desktop" will show up on an empty desktop though so there's always at least 1 item it seems.</p></blockquote>

<p>I wrote a python script to easily test the recursive column calculation with __ number of windows.<br />
<a href="https://github.com/Zren/kwin-tabbox-thumbnail_grid/blob/master/test_recursion.py" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/Zren/kwin-tabbox-thumbnail_grid/blob/master/test_recursion.py</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26681">https://phabricator.kde.org/D26681</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>windowswitchers/CMakeLists.txt<br />
windowswitchers/thumbnail_grid/contents/ui/main.qml<br />
windowswitchers/thumbnail_grid/metadata.desktop</div></div></div><br /><div><strong>To: </strong>Zren<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>