Hello,
I’ve recently migrated my Plasmoid from Plasma 5 to Plasma 6 following the official guide. And while I get no errors when installing the Plasmoid with kpackagetool6, it just won’t show up in my panel. It does work with plasmoidviewer -a, though.
Has there anything changed regarding compactRepresentation? This is my content/ui/main.qml:
import QtQuick 2.15
import org.kde.plasma.plasmoid
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components as PlasmaComponents
PlasmoidItem {
id: root
compactRepresentation: Pliff {}
fullRepresentation: Pliff {}
preferredRepresentation: compactRepresentation
}
The only elements I use in Pliff.qml are Image, Text, and Timer, plus some JavaScript functions.