| Summary: | Window List doesn't show the virtual desktop labels any more | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Lothar <lopa> |
| Component: | Window List widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | bugseforuns, hein, nate, uhhadd |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | 5.15.3 | ||
| Target Milestone: | 1.0 | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Lothar
2019-04-01 23:40:18 UTC
Same thing on Arch linux. KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.3 Here's some more information. The WindowList plasmoid is in the plasma5-desktop package. But the "good" and "bad" version of the /usr/share/plasma/plasmoids/org.kde.plasma.windowlist/contents/ui/main.qml file are almost identical. The bug must be caused by some change in the Plasma5 framework.
I've tried to debug this issue, but that's not easy without any experience in KDE plasmoid and QtQuick programming. But it seems, that the block "section.delegate: PlasmaComponents.Label {...}" isn't executed at all.
I've added the following statements at the end of the "ListView {...}" block:
| Component.onCompleted: {
| console.log("section = ", section)
| console.log("section.property = ", section.property)
| console.log("section.criteria = ", section.criteria)
| console.log("section.delegate = ", section.delegate)
| console.log("section.delegate.Status = ", section.delegateStatus)
| console.log("virtualDesktopInfo.numberOfDesktops = ", virtualDesktopInfo.numberOfDesktops)
| for (var i = 0; i < virtualDesktopInfo.numberOfDesktops; ++i)
| console.log(" ", i, virtualDesktopInfo.desktopNames[i])
| }
This is the output if I start it in a console window:
| $ plasmawindowed org.kde.plasma.windowlist
| org.kde.plasmaquick: Applet preload policy set to 1
| org.kde.plasma: requesting config for "Fensterliste" without a containment!
| qml: section = QQuickViewSection(0x562837571730)
| qml: section.property = VirtualDesktop
| qml: section.criteria = 0
| qml: section.delegate = QQmlComponent(0x562837725f70)
| qml: section.delegate.Status = undefined
| qml: virtualDesktopInfo.numberOfDesktops = 8
| qml: 0 Arbeitsfläche 1
| qml: 1 Arbeitsfläche 2
| qml: 2 Arbeitsfläche 3
| qml: 3 Arbeitsfläche 4
| qml: 4 Arbeitsfläche 5
| qml: 5 Arbeitsfläche 6
| qml: 6 Arbeitsfläche 7
| qml: 7 Arbeitsfläche 8
| qml: 0
It seems, that all information is correct, there are 8 workspaces with the correct labels. But there's no output from any console.log statement added to the "section.delegate: PlasmaComponents.Label {...}" block.
It might be a regression from a change in the backend that altered how it reports virtual desktop information. I'll try to have a look soon. *** This bug has been marked as a duplicate of bug 455904 *** |