https://bugs.kde.org/show_bug.cgi?id=465803

            Bug ID: 465803
           Summary: PlayerController.qml:92: TypeError: Type error
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Task Manager's output is full of this error:

Feb 15 17:37:20 Liberator plasmashell[286603]:
file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/PlayerController.qml:92:
TypeError: Type error
Feb 15 17:37:20 Liberator plasmashell[286603]:
file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/PlayerController.qml:92:
TypeError: Type error
Feb 15 17:37:18 Liberator plasmashell[286603]:
file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/PlayerController.qml:92:
TypeError: Type error
Feb 15 17:35:40 Liberator plasmashell[286603]:
file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/PlayerController.qml:92:
TypeError: Type error

It seems like what's happening is that on line 42,
currentMetadata["xesam:artist"] actually returns a string, not a stringlist. so
calling join() on it later on line 92 fails.

The commit message 083922b5506d2b9781bc48ee763bba948dd99fbb says that it's a
stringlist, but this doesn't actually seem to be the case, or at least it's not
*always* the case. Perhaps we should be more lenient and detect whether it's a
string or a stringlist in practice.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to