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

            Bug ID: 369783
           Summary: contents/ui/KickoffItem.qml:218:19: Unable to assign
                    [undefined] to QString
           Product: plasmashell
           Version: master
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Application Launcher (Kickoff)
          Assignee: k...@davidedmundson.co.uk
          Reporter: m...@eliasprobst.eu
                CC: plasma-b...@kde.org

plasmashell logs a few hundreds of this line every now and then:

file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/KickoffItem.qml:218:19:
Unable to assign [undefined] to QString

I can reproduce this by launching Thunderbird 45.4.0 from my Kickoff favorites,
but I think I've seen it in a few other cases (I couldn't clearly reproduce
yet) too.

Although this could be easily fixed by this:
--- a/applets/kickoff/package/contents/ui/KickoffItem.qml
+++ b/applets/kickoff/package/contents/ui/KickoffItem.qml
@@ -215,7 +215,7 @@ Item {
             }
             height: paintedHeight

-            text: model.description
+            text: model.description || ""
             opacity: isCurrent ? 0.6 : 0.3
             font.pointSize: theme.smallestFont.pointSize
             elide: Text.ElideMiddle


…I feel like the root cause is actually within the model where the description
isn't handled correctly (but to fix that is beyond my knowledge).

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

Reply via email to