From c26eef95b19cd338c95472e81de493c9c9d42c10 Mon Sep 17 00:00:00 2001 From: Felitendo Date: Wed, 23 Sep 2026 00:22:35 +0200 Subject: [PATCH] fix: show the bubble as an on-screen display so kwin does not blur a box behind it --- src/agent/bubblewindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/agent/bubblewindow.cpp b/src/agent/bubblewindow.cpp index 03b2e9e..af1afc3 100644 --- a/src/agent/bubblewindow.cpp +++ b/src/agent/bubblewindow.cpp @@ -69,7 +69,12 @@ void BubbleWindow::create() layer->setExclusiveZone(-1); layer->setKeyboardInteractivity(LayerShellQt::Window::KeyboardInteractivityNone); layer->setActivateOnShow(false); - layer->setScope(QStringLiteral("plasma-face-unlock-bubble")); + // KWin makes a window type of the scope and takes one it does not + // know for a normal window. Its scale effect then opens and closes + // that with a blur forced behind the whole, mostly clear window: a + // faint box with sharp corners around the bubble. An on-screen + // display only fades, which a clear window does not show. + layer->setScope(QStringLiteral("on-screen-display")); #ifdef PFU_LAYERSHELL_HAS_SCREEN layer->setScreen(QGuiApplication::primaryScreen()); #endif