<table><tr><td style="">mart 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/D12820">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D12820#275739" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D12820#275739</a>, <a href="https://phabricator.kde.org/p/davidedmundson/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@davidedmundson</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>In the current (even on X state) I can represent 4 virtual desktops in 1 2x2 grid on the pager so it fits best, yet 4x1 along the edges of the cube, and it wouldn't be unfeasible to display them 1x4 in an activity manager style switcher.</p>
<p>What I think would work best is a shared ordered-list, but the visual representation of that ordered list is entirely up to the view.</p>
<p>Kwin still needs to turn that into a grid in some places for keyboard nav and the slide effect, but that's just the case of a single int config value.</p></div>
</blockquote>
<p>so...<br />
Remove all layout position and siblings, and just pay attention <br />
plasmaVirtualDesktops() on server, and<br />
desktops() on the client always have the same order.<br />
Would there be some protocol to reorder desktops or would be just a detail internal in kwin?</p>
<p>wether they are on a line, on a cube, on a 3 rows grid, then would just be a config value setting shared between kwin and the pager, not passing trough wayland in any way.</p>
<p>whith this, would still be possible to allow maybe in the future desktops per-output whicj Martin was talking about?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12820">https://phabricator.kde.org/D12820</a></div></div><br /><div><strong>To: </strong>mart, KWin, Plasma, graesslin, hein<br /><strong>Cc: </strong>davidedmundson, zzag, bshah, romangg, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>