diff --git a/containments/panel/contents/ui/main.qml b/containments/panel/contents/ui/main.qml index d332b73b..bf30c25c 100644 --- a/containments/panel/contents/ui/main.qml +++ b/containments/panel/contents/ui/main.qml @@ -236,5 +236,14 @@ PlasmaCore.ColorScope { } } } + onVisibleChanged: { + if (visible && !root.expandedApplet) { + print("AAA"+appletIconsRow.children[0].applet) + var applet = appletIconsRow.children[0].applet; + applet.expanded = true; + appletsStack.replace(applet.fullRepresentationItem); + root.expandedApplet = applet; + } + } } } diff --git a/shell/contents/applet/CompactApplet.qml b/shell/contents/applet/CompactApplet.qml index 199f3ee1..5228e7a9 100644 --- a/shell/contents/applet/CompactApplet.qml +++ b/shell/contents/applet/CompactApplet.qml @@ -56,16 +56,11 @@ Item { anchors { left: parent.left right: parent.right + bottom: parent.top } height: units.smallSpacing color: PlasmaCore.ColorScope.highlightColor - opacity: plasmoid.expanded ? 1 : 0 - Behavior on opacity { - OpacityAnimator { - duration: units.shortDuration - easing.type: Easing.InOutQuad - } - } + visible: plasmoid.expanded } Item {