D12820: Add KWayland virtual desktop protocol
David Edmundson
noreply at phabricator.kde.org
Fri Jun 8 11:01:47 UTC 2018
davidedmundson added a comment.
General rule of thumb for any data storage for me is to never have a possible corruptable state.
The current protocol which has the position specified inside the Virtual Desktop object itself, so you can have two in the same place and you can't swap the position of two in an atomic move.
This sibling part makes that worse.
> I would prefer to not have any layout in the protocol. Setting a layout makes it impossible to have different virtual desktop per output.
Completely agree, but for completely different reasons.
Layout is not a property of the virtual desktop itself but a property of the relevant view.
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.
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.
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.
REPOSITORY
R127 KWayland
REVISION DETAIL
https://phabricator.kde.org/D12820
To: mart, #kwin, #plasma, graesslin, hein
Cc: davidedmundson, zzag, bshah, romangg, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180608/9459e59a/attachment.html>
More information about the Kde-frameworks-devel
mailing list