From 8fb839f682ee25e4394d9ef72c1fb3cc5e9860c2 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sat, 22 Feb 2020 11:57:40 +0100 Subject: [PATCH] [kcm/effects] Clip ListView Summary: Otherwise the content overflows the frame when scrolling. QQC2 scrollview docs say "ScrollView does not automatically clip its contents. If it is not used as a full-screen item, you should consider setting the clip property to true" Test Plan: Before: {F8121150} After: {F8121152} Reviewers: #kwin, #plasma, ngraham Reviewed By: ngraham Subscribers: ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D27558 --- kcmkwin/kwineffects/package/contents/ui/main.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kcmkwin/kwineffects/package/contents/ui/main.qml b/kcmkwin/kwineffects/package/contents/ui/main.qml index 03967cc234..51d55c1f54 100644 --- a/kcmkwin/kwineffects/package/contents/ui/main.qml +++ b/kcmkwin/kwineffects/package/contents/ui/main.qml @@ -86,6 +86,8 @@ ScrollViewKCM { property var _buttonGroups: [] + clip: true + model: Private.EffectsFilterProxyModel { id: searchModel