With the new virtual desktop API introduced in recent KWin versions, it seems that there's no way to rename a desktop and persist the change in the KWin's config, unless it's done by a D-Bus method call org.kde.KWin /VirtualDesktopManager setDesktopName. That method is also used internally in the Virtual Desktops KCM code to synchronize name changes.
After calling KWindowSystem::setDesktopName method from KDE Frameworks, KCM is not notified about the change. It was working with the module present in previous Plasma versions, but now it's not. The desktop name changes done through the plasmoid are only temporary because of that.
With the new virtual desktop API introduced in recent KWin versions, it seems that there's no way to rename a desktop and persist the change in the KWin's config, unless it's done by a D-Bus method call
org.kde.KWin /VirtualDesktopManager setDesktopName
. That method is also used internally in the Virtual Desktops KCM code to synchronize name changes.After calling
KWindowSystem::setDesktopName
method from KDE Frameworks, KCM is not notified about the change. It was working with the module present in previous Plasma versions, but now it's not. The desktop name changes done through the plasmoid are only temporary because of that.