From ddb941d4656cf54eec48d0cec7c9569d34a409d1 Mon Sep 17 00:00:00 2001 From: Mathias Tillman Date: Thu, 14 Feb 2019 14:00:16 +0100 Subject: [PATCH] Fix window thumbnails not working since frameworks 5.55 Summary: This fixes a problem where window thumbnails are no longer visible since KDE Frameworks 5.55. This is caused by https://cgit.kde.org/plasma-framework.git/commit/?id=b257029afc3bfcd6366d2c2b910b8d91403ab8a which no longer automatically updates the visibility of mainItem of PlasmaCore.Dialog. BUG: 404234 Test Plan: Ensure window thumbnails are working correctly now Reviewers: mvourlakos Reviewed By: mvourlakos Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D19002 --- plasmoid/package/contents/ui/main.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml index e240f270c..1cd74a73b 100644 --- a/plasmoid/package/contents/ui/main.qml +++ b/plasmoid/package/contents/ui/main.qml @@ -538,6 +538,8 @@ Item { if (visible) { windowsPreviewCheckerToNotShowTimer.start(); } + + mainItem.visible = visible; } function hide(debug){