Created attachment 193810 [details] Please untar to get the png and txt files which support the example testcase given in "Additional Information" in the bug description DESCRIPTION Pager Widget in Taskbar doesn't update the names of Virtual Desktops when they are changed in System Settings STEPS TO REPRODUCE 1. Start with any configuration of virtual desktops and the pager widget enabled in the taskbar 2. Change the name of one of the virtual desktops using System Settings -> Window Management -> Virtual Desktops 3. Click the "Apply" button in the settings window OBSERVED RESULT The virtual desktop you renamed **does not** get renamed in the Pager Widget in the Taskbar (Unless you restart KDE Plasma Shell using `systemctl --user restart plasma-plasmashell`) EXPECTED RESULT The virtual desktop you renamed **does** get renamed in the Pager Widget in the Taskbar (Without having to restart KDE Plasma Shell) SOFTWARE/OS VERSIONS Operating System: Fedora Linux 43 KDE Plasma Version: 6.6.5 KDE Frameworks Version: 6.27.0 Qt Version: 6.10.3 ADDITIONAL INFORMATION Let me give my personal bug experience as an example I started in the following state: - Pager Widget looked like A1.png (attached screenshot) - System Settings -> Window Management -> Virtual Desktops looked like A2.png - ~/.config/kwinrc looked like A3.txt Then I changed the name of the "Moving" virtual desktop to "Foobar" and clicked "Apply" New state: - Pager Widget looked like B1.png - System Settings -> Window Management -> Virtual Desktops looked like B2.png - ~/.config/kwinrc looked like B3.txt
possibly related to another user experiencing a similar virtual desktop naming bug in kubuntu 26.04 as discussed here: https://discuss.kde.org/t/after-last-update-virtual-desktop-names-are-not-shown-in-pager-every-reboot it seems `~/.config/kwinrc` is not being written for the key=value pair for `Name_1=` and even when `Name_1=` is added manually, it is not being updated when changes are made via the GUI.
(In reply to goo from comment #1) > possibly related to another user experiencing a similar virtual desktop > naming bug in kubuntu 26.04 as discussed here: > > https://discuss.kde.org/t/after-last-update-virtual-desktop-names-are-not- > shown-in-pager-every-reboot > > it seems `~/.config/kwinrc` is not being written for the key=value pair for > `Name_1=` and even when `Name_1=` is added manually, it is not being updated > when changes are made via the GUI. I think my bug is a little different -- `~/.config/kwinrc` is getting updated correctly when I change the System Settings. The problem is that the pager is not refreshing its state when `~/.config/kwinrc` changes.
I can reproduce the issue… But only until Plasma is restarted. Then the new names take effect.
I can reproduce this on Plasma 6.7.4 (Arch Linux, X11, i3 as window manager instead of KWin) and tracked down the cause. It is a regression in the pager widget's QML from 6.6.0, not a kwinrc problem. Reproduction without KWin: i3 only exposes existing workspaces as virtual desktops, e.g. _NET_DESKTOP_NAMES = "1", "6", "7", "8", "9". Close workspace 7 and open workspace 10: there are still five desktops, but the names are now "1", "6", "8", "9", "10" (xprop -root _NET_DESKTOP_NAMES confirms this). The pager keeps showing 1 6 7 8 9 until the number of desktops changes or plasmashell is restarted. Renaming a desktop in System Settings, as in the original report, is the same situation: names change, count doesn't. Cause: commit 865364c0b ("applets/pager: linting", MR !3333, first released in 6.6.0) changed how the desktop label is created in applets/pager/qml/main.qml: - desktopLabelComponent.createObject(desktop, { index, model, desktopFrame }); + desktopLabelComponent.createObject(desktop, { index, display: desktop.display, desktopFrame }); Before, the label got the model object and bound its text to model.display. Now it gets the name as a plain initial property value, which is copied once and never updated. PagerModel resets itself (recreating the labels) when the number of desktops changes, but when only the names change it just emits dataChanged(DisplayRole). On X11 that comes from KX11Extras::desktopNamesChanged; on Wayland from PlasmaVirtualDesktop::done, which only emits desktopNamesChanged in libtaskmanager. So the existing labels keep their old text on both platforms. The same commit did the same to window icons (decoration: windowRect.decoration), so icons in the pager don't update either when an application changes its icon at runtime. Checked with a minimal QML reproduction on Qt 6.11.2 (same setup: ComponentBehavior: Bound, required properties, createObject() from a Repeater delegate, then changing a name in the model): copied value (current code) 1 6 7 -> 1 6 7 Qt.binding(() => desktop.display) 1 6 7 -> 1 6 8 passing model (pre-6.6 code) 1 6 7 -> 1 6 8 Suggested fix, which keeps the typed required properties from the linting change: desktopLabelComponent.createObject(desktop, { index, display: Qt.binding(() => desktop.display), desktopFrame }); windowIconComponent.createObject(windowRect, { decoration: Qt.binding(() => windowRect.decoration) });
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4106
*** Bug 527594 has been marked as a duplicate of this bug. ***
Git commit 64b9cc4f13d595aa6ba429a41fa0ad543934e66d by Niccolò Venerandi. Committed on 22/10/2026 at 20:32. Pushed by niccolove into branch 'master'. applets/pager: Keep desktop labels and window icons bound to the model The label is created with a createObject call, which fixes the label and icon values in place on creation. This commits adds a binding so that they update over time. Related: bug 501660, bug 506247 M +6 -2 applets/pager/qml/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/64b9cc4f13d595aa6ba429a41fa0ad543934e66d
Git commit c8601a57f3568180a8057128e12d9e765219b470 by Niccolò Venerandi. Committed on 22/10/2026 at 20:57. Pushed by niccolove into branch 'Plasma/6.8'. applets/pager: Keep desktop labels and window icons bound to the model The label is created with a createObject call, which fixes the label and icon values in place on creation. This commits adds a binding so that they update over time. Related: bug 501660, bug 506247 (cherry picked from commit d0eb9688384be8f0c8914570734f9fd50c67318d) Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com> M +8 -2 applets/pager/qml/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/c8601a57f3568180a8057128e12d9e765219b470