"Plasmoids" error messages

After a boot I enter "journalctl -f" in the terminal and see the following errors. Can anybody explain it? And how to fix it?

[mx@hp-laptop ~]$ journalctl -f
-- Logs begin at Thu 2019-05-23 14:20:49 CEST. --
Jun 09 23:52:30 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:52:30 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:367: Unable to assign [undefined] to QString
Jun 09 23:53:23 hp-laptop wpa_supplicant[635]: wlp3s0b1: WPA: Group rekeying completed with e8:df:70:cf:91:1b [GTK=CCMP]
Jun 09 23:53:27 hp-laptop kwin_x11[810]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51504, resource id: 67108871, major code: 15 (QueryTree), minor code: 0
Jun 09 23:53:27 hp-laptop kwin_x11[810]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51560, resource id: 67108906, major code: 18 (ChangeProperty), minor code: 0
Jun 09 23:53:27 hp-laptop kwin_x11[810]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51572, resource id: 35652266, major code: 18 (ChangeProperty), minor code: 0
Jun 09 23:53:28 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:28 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:371: TypeError: Type error
Jun 09 23:53:29 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:29 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:367: Unable to assign [undefined] to QString
Jun 09 23:53:34 hp-laptop wpa_supplicant[635]: wlp3s0b1: CTRL-EVENT-BEACON-LOSS
Jun 09 23:53:39 hp-laptop wpa_supplicant[635]: wlp3s0b1: CTRL-EVENT-BEACON-LOSS
Jun 09 23:53:41 hp-laptop wpa_supplicant[635]: wlp3s0b1: CTRL-EVENT-BEACON-LOSS
Jun 09 23:53:58 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:58 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:371: TypeError: Type error
Jun 09 23:53:58 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:58 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:371: TypeError: Type error
Jun 09 23:53:58 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:58 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:371: TypeError: Type error
Jun 09 23:53:59 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:59 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:371: TypeError: Type error
Jun 09 23:53:59 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:59 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:371: TypeError: Type error
Jun 09 23:53:59 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:343: Unable to assign [undefined] to int
Jun 09 23:53:59 hp-laptop plasmashell[816]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:371: TypeError: Type error

Seems to be an issue with the task manager plasmoid?

Thx, but I do not really understand the problem here. Could someboy explain this and give me ahint how to fix it?

Is there a problem? What isn't working?

All is working and I even did not know that there was a problem if I have not checked this. But anyway it feels stragne to have a clean system throwing out some strange errors. It would be good to know the cause of the problem. :thinking:

Open the Task.qml file, the problem start at line 343, 367...

OK, here are lines 342 - 585 (last line) in task.qml in
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui

                   toolTipDelegate.pidParent = Qt.binding(function() {
                        return model.AppPid;
                    });
                    toolTipDelegate.windows = Qt.binding(function() {
                        return model.WinIdList;
                    });
                    toolTipDelegate.isGroup = Qt.binding(function() {
                        return model.IsGroupParent == true;
                    });
                    toolTipDelegate.icon = Qt.binding(function() {
                        return model.decoration;
                    });
                    toolTipDelegate.launcherUrl = Qt.binding(function() {
                        return model.LauncherUrlWithoutIcon;
                    });
                    toolTipDelegate.isLauncher = Qt.binding(function() {
                        return model.IsLauncher == true;
                    });
                    toolTipDelegate.isMinimizedParent = Qt.binding(function() {
                        return model.IsMinimized == true;
                    });
                    toolTipDelegate.displayParent = Qt.binding(function() {
                        return model.display;
                    });
                    toolTipDelegate.genericName = Qt.binding(function() {
                        return model.GenericName;
                    });
                    toolTipDelegate.virtualDesktopParent = Qt.binding(function() {
                        return (model.VirtualDesktops != undefined || model.VirtualDesktops.length == 0) ? model.VirtualDesktops : [0];
                    });
                    toolTipDelegate.isOnAllVirtualDesktopsParent = Qt.binding(function() {
                        return model.IsOnAllVirtualDesktops == true;
                    });
                    toolTipDelegate.activitiesParent = Qt.binding(function() {
                        return model.Activities;
                    });

                    toolTipDelegate.smartLauncherCountVisible = Qt.binding(function() {
                        return plasmoid.configuration.smartLaunchersEnabled && task.smartLauncherItem && task.smartLauncherItem.countVisible;
                    });
                    toolTipDelegate.smartLauncherCount = Qt.binding(function() {
                        return toolTipDelegate.smartLauncherCountVisible ? task.smartLauncherItem.count : 0;
                    });
                }
            }
        }
    }

    Loader {
        anchors.fill: frame
        asynchronous: true
        source: "TaskProgressOverlay.qml"
        active: plasmoid.configuration.smartLaunchersEnabled && task.smartLauncherItem && task.smartLauncherItem.progressVisible
    }

    Item {
        id: iconBox

        anchors {
            left: parent.left
            leftMargin: adjustMargin(true, parent.width, taskFrame.margins.left)
            top: parent.top
            topMargin: adjustMargin(false, parent.height, taskFrame.margins.top)
        }

        width: height
        height: (parent.height - adjustMargin(false, parent.height, taskFrame.margins.top)
            - adjustMargin(false, parent.height, taskFrame.margins.bottom))

        function adjustMargin(vert, size, margin) {
            if (!size) {
                return margin;
            }

            var margins = vert ? LayoutManager.horizontalMargins() : LayoutManager.verticalMargins();

            if ((size - margins) < units.iconSizes.small) {
                return Math.ceil((margin * (units.iconSizes.small / size)) / 2);
            }

            return margin;
        }

        //width: inPopup ? units.iconSizes.small : Math.min(height, parent.width - LayoutManager.horizontalMargins())

        PlasmaCore.IconItem {
            id: icon

            anchors.fill: parent

            active: task.highlighted
            enabled: true
            usesPlasmaTheme: false

            source: model.decoration
        }

        Loader {
            // QTBUG anchors.fill in conjunction with the Loader doesn't reliably work on creation:
            // have a window with a badge, move it from one screen to another, the new task item on the
            // other screen will now have a glitched out badge mask.
            width: parent.width
            height: parent.height
            asynchronous: true
            source: "TaskBadgeOverlay.qml"
            active: plasmoid.configuration.smartLaunchersEnabled && height >= units.iconSizes.small
                    && task.smartLauncherItem && task.smartLauncherItem.countVisible
        }

        states: [
            // Using a state transition avoids a binding loop between label.visible and
            // the text label margin, which derives from the icon width.
            State {
                name: "standalone"
                when: !label.visible && !audioStreamIconLoader.shown

                AnchorChanges {
                    target: iconBox
                    anchors.left: undefined
                    anchors.horizontalCenter: parent.horizontalCenter
                }

                PropertyChanges {
                    target: iconBox
                    anchors.leftMargin: 0
                    width: parent.width - adjustMargin(true, task.width, taskFrame.margins.left)
                                        - adjustMargin(true, task.width, taskFrame.margins.right)
                }
            }
        ]

        Loader {
            anchors.fill: parent

            active: model.IsStartup === true
            sourceComponent: busyIndicator
        }

        Component {
            id: busyIndicator

            PlasmaComponents.BusyIndicator { anchors.fill: parent }
        }
    }

    Loader {
        id: audioStreamIconLoader

        readonly property bool shown: item && item.visible

        source: "AudioStream.qml"
        width: units.roundToIconSize(Math.min(Math.min(iconBox.width, iconBox.height), units.iconSizes.smallMedium))
        height: width

        anchors {
            right: parent.right
            rightMargin: iconBox.adjustMargin(true, parent.width, taskFrame.margins.right)
            verticalCenter: parent.verticalCenter
        }
    }

    PlasmaComponents.Label {
        id: label

        visible: (inPopup || !iconsOnly && model.IsLauncher !== true
            && (parent.width - iconBox.height - units.smallSpacing) >= (theme.mSize(theme.defaultFont).width * LayoutManager.minimumMColumns()))

        anchors {
            fill: parent
            leftMargin: taskFrame.margins.left + iconBox.width + units.smallSpacing
            topMargin: taskFrame.margins.top
            rightMargin: taskFrame.margins.right + (audioStreamIconLoader.shown ? (audioStreamIconLoader.width + units.smallSpacing) : 0)
            bottomMargin: taskFrame.margins.bottom
        }

        text: model.display
        wrapMode: (maximumLineCount == 1) ? Text.NoWrap : Text.Wrap
        elide: Text.ElideRight
        textFormat: Text.PlainText
        verticalAlignment: Text.AlignVCenter
        maximumLineCount: plasmoid.configuration.maxTextLines || undefined
    }

    states: [
        State {
            name: "launcher"
            when: model.IsLauncher === true

            PropertyChanges {
                target: frame
                basePrefix: ""
            }
        },
        State {
            name: "hovered"
            when: task.highlighted && frame.hasElementPrefix("hover") && plasmoid.configuration.taskHoverEffect

            PropertyChanges {
                target: frame
                basePrefix: "hover"
            }
        },
        State {
            name: "attention"
            when: model.IsDemandingAttention === true || (task.smartLauncherItem && task.smartLauncherItem.urgent)

            PropertyChanges {
                target: frame
                basePrefix: "attention"
            }
        },
        State {
            name: "minimized"
            when: model.IsMinimized === true

            PropertyChanges {
                target: frame
                basePrefix: "minimized"
            }
        },
        State {
            name: "active"
            when: model.IsActive === true

            PropertyChanges {
                target: frame
                basePrefix: "focus"
            }
        }
    ]

    Component.onCompleted: {
        if (!inPopup && model.IsWindow === true) {
            var component = Qt.createComponent("GroupExpanderOverlay.qml");
            component.createObject(task);
        }

        if (!inPopup && model.IsWindow !== true) {
            taskInitComponent.createObject(task);
        }

        updateAudioStreams({delay: false})
    }
}

Line 338 ff

            onContainsMouseChanged:  {
                if (containsMouse) {
                    toolTipDelegate.parentTask = task;
                    toolTipDelegate.rootIndex = tasksModel.makeModelIndex(itemIndex, -1);

Seems some tooltip missing, look what "app" you use if error show in terminal with
$ journalctl -f.

This happens first immediatelly when I open the terminal (and all other apps are closed). Then when I mouse-over my apps in the pannel (without opening) then I get this error again and again in the terminal for all apps.

I use Timeshift, so I went to the first clean system and the error was already there (!). So it was from the beginning after the fresh install (?).

I use the manjarowish-kde edition
moving mouse over pannel, not your error output.

~ >>> journalctl -f | grep "error" 
Jun 11 00:47:04 kde kwin_x11[11977]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25444, resource id: 155189490, major code: 18 (ChangeProperty), minor code: 0
Jun 11 00:47:04 kde kwin_x11[11977]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25466, resource id: 54526408, major code: 18 (ChangeProperty), minor code: 0
Jun 11 00:52:09 kde kwin_x11[11977]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 56595, resource id: 29360134, major code: 15 (QueryTree), minor code: 0
Jun 11 00:54:00 kde kwin_x11[11977]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 32969, resource id: 54526461, major code: 18 (ChangeProperty), minor code: 0
Jun 11 00:54:01 kde kdeinit5[21590]: Qt: Session management error: networkIdsList argument is NULL

But this is a 1st world "error" :wink: , in KDE you can got crash errors, these are real problems. :smiley:

1 Like

Definetly, it is 1st world error. ;-).
I must check this with a fully new installation if this exists. Just to know.

IIRC, I saw some tooltip related journal entries like described here before entirely disabling Qt-Logging. Tooltips are "not right" at least for one wine program here (notepad++) - there is always some info showing from the previously tooltipped program.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark