diff --git a/containments/desktop/package/contents/ui/FolderView.qml b/containments/desktop/package/contents/ui/FolderView.qml --- a/containments/desktop/package/contents/ui/FolderView.qml +++ b/containments/desktop/package/contents/ui/FolderView.qml @@ -148,6 +148,15 @@ } } + Connections { + target: plasmoid + onExpandedChanged: { + if (plasmoid.expanded && dir.status === Folder.FolderModel.Ready && !gridView.model) { + gridView.model = positioner; + } + } + } + // Lower the toolBox when an item is hovered, so it doesn't interfere with // its interaction (e.g. the selection button in the top left, cf. Bug 337060) Binding { @@ -1061,7 +1070,7 @@ previewPlugins: plasmoid.configuration.previewPlugins onListingCompleted: { - if (!gridView.model) { + if (!gridView.model && plasmoid.expanded) { gridView.model = positioner; } }