D15599: Port the "Switch Desktop" containment action to libtaskmanager
Kai Uwe Broulik
noreply at phabricator.kde.org
Wed Sep 19 11:11:39 BST 2018
broulik added inline comments.
INLINE COMMENTS
> desktop.cpp:46
> +
> + if (!s_virtualDesktopInfo) {
> + delete s_virtualDesktopInfo;
`!s_instanceCount`
> desktop.cpp:65
>
> - //Is it either the first time or the desktop number changed?
> if (m_actions.count() < numDesktops) {
> for (int i = m_actions.count() + 1; i <= numDesktops; ++i) {
This codes doesn't take into account when the virtual desktop names change etc. I think it should re-create the actions every time, and not try to be "smart" by only changing the ones that are "superfluous" or "missing" as the names and order inbetween could have changed
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D15599
To: hein, mart, davidedmundson
Cc: broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180919/9d47f10e/attachment-0001.html>
More information about the Plasma-devel
mailing list