From aac41402f3af089ffd92e246619d6d85701e69cf Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Sun, 3 Mar 2024 20:16:56 -0500 Subject: [PATCH] homescreens/folio: Don't show background for widget configure dialog https://invent.kde.org/plasma/plasma-mobile/-/issues/320 We seem to encounter an issue when a widget is deleted where the background stays. Workaround it for now. --- .../package/contents/ui/delegate/WidgetDelegateConfig.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/containments/homescreens/folio/package/contents/ui/delegate/WidgetDelegateConfig.qml b/containments/homescreens/folio/package/contents/ui/delegate/WidgetDelegateConfig.qml index 494850f0..554a5cf5 100644 --- a/containments/homescreens/folio/package/contents/ui/delegate/WidgetDelegateConfig.qml +++ b/containments/homescreens/folio/package/contents/ui/delegate/WidgetDelegateConfig.qml @@ -204,6 +204,10 @@ Item { padding: 0 title: i18n('Widget Options') + // workaround: remove background so that it doesn't remain if the widget is deleted (and this is de-initialized without closing) + background: null + QQC2.Overlay.modal: null + // close parent dialog too onClosed: configPopup.close()