From 201e277429afe57b18eac6ed35facaa2758eb310 Mon Sep 17 00:00:00 2001 From: Ye ShanShan Date: Thu, 9 May 2024 17:37:34 +0800 Subject: [PATCH] fix: blur doesn't work when clipped it maybe a bug for dtk, and we also don't need use clip. Issue: https://github.com/linuxdeepin/developer-center/issues/8468 --- qml/GridViewContainer.qml | 2 +- qml/windowed/AppListView.qml | 1 - qml/windowed/FreeSortListView.qml | 1 - qml/windowed/GridViewContainer.qml | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/qml/GridViewContainer.qml b/qml/GridViewContainer.qml index 5c8767ae..c5f83448 100644 --- a/qml/GridViewContainer.qml +++ b/qml/GridViewContainer.qml @@ -80,7 +80,7 @@ FocusScope { ScrollBar.vertical: root.vScrollBar anchors.fill: parent - clip: true + clip: false // TODO it maybe a bug for dtk, https://github.com/linuxdeepin/developer-center/issues/8468 highlightFollowsCurrentItem: true keyNavigationEnabled: true highlightMoveDuration: 150 diff --git a/qml/windowed/AppListView.qml b/qml/windowed/AppListView.qml index 56f81c2f..f600c9b6 100644 --- a/qml/windowed/AppListView.qml +++ b/qml/windowed/AppListView.qml @@ -236,7 +236,6 @@ FocusScope { activeFocusOnTab: true highlightFollowsCurrentItem: true // displayMarginBeginning: -45 - clip: true focus: true onActiveFocusChanged: { diff --git a/qml/windowed/FreeSortListView.qml b/qml/windowed/FreeSortListView.qml index a33997f1..98ba7312 100644 --- a/qml/windowed/FreeSortListView.qml +++ b/qml/windowed/FreeSortListView.qml @@ -31,7 +31,6 @@ Item { anchors.fill: parent highlightFollowsCurrentItem: true - clip: true highlight: Item { FocusBoxBorder { anchors { diff --git a/qml/windowed/GridViewContainer.qml b/qml/windowed/GridViewContainer.qml index abe78dfd..3207fdf4 100644 --- a/qml/windowed/GridViewContainer.qml +++ b/qml/windowed/GridViewContainer.qml @@ -62,7 +62,6 @@ FocusScope { anchors.centerIn: parent - clip: true interactive: false highlightFollowsCurrentItem: true keyNavigationEnabled: true