diff --git a/applets/clipboard/contents/ui/ClipboardItemDelegate.qml b/applets/clipboard/contents/ui/ClipboardItemDelegate.qml --- a/applets/clipboard/contents/ui/ClipboardItemDelegate.qml +++ b/applets/clipboard/contents/ui/ClipboardItemDelegate.qml @@ -44,7 +44,8 @@ onClicked: { menuItem.itemSelected(UuidRole); - plasmoid.expanded = false; + if (plasmoid.hideOnWindowDeactivate) + plasmoid.expanded = false; } onContainsMouseChanged: { if (containsMouse) { diff --git a/applets/systemtray/package/contents/ui/main.qml b/applets/systemtray/package/contents/ui/main.qml --- a/applets/systemtray/package/contents/ui/main.qml +++ b/applets/systemtray/package/contents/ui/main.qml @@ -70,6 +70,10 @@ wheel.accepted = true; } + Containment.onAppletAdded: { + applet.hideOnWindowDeactivate = Qt.binding(function() { return !plasmoid.configuration.pin; }); + } + //being there forces the items to fully load, and they will be reparented in the popup one by one, this item is *never* visible Item { id: preloadedStorage