wsdfhjxc / virtual-desktop-bar

A pager panel widget for KDE Plasma
GNU General Public License v3.0
326 stars 29 forks source link

Renaming a virtual desktop is not persistent #6

Closed wsdfhjxc closed 5 years ago

wsdfhjxc commented 5 years ago

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.