From 17308083fea34b768c5780b41e8b379c88a4b382 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Mon, 22 Sep 2025 22:25:01 +0200 Subject: [PATCH] Revert "ActiveWindow: hide ActiveWindow if there is no actual window" This reverts commit 51fb5b9f4abd119621f618d067b63261c1cefd1b. --- Modules/Bar/Widgets/ActiveWindow.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/Bar/Widgets/ActiveWindow.qml b/Modules/Bar/Widgets/ActiveWindow.qml index 18cba41d..fc25a9f4 100644 --- a/Modules/Bar/Widgets/ActiveWindow.qml +++ b/Modules/Bar/Widgets/ActiveWindow.qml @@ -31,7 +31,6 @@ Item { } readonly property string windowTitle: CompositorService.getFocusedWindowTitle() - readonly property bool hasActiveWindow: windowTitle !== "" && windowTitle !== "(No active window)" readonly property bool showIcon: (widgetSettings.showIcon !== undefined) ? widgetSettings.showIcon : widgetMetadata.showIcon @@ -53,7 +52,7 @@ Item { implicitHeight: (barPosition === "left" || barPosition === "right") ? calculatedVerticalHeight() : Math.round(Style.barHeight * scaling) implicitWidth: (barPosition === "left" || barPosition === "right") ? Math.round(Style.capsuleHeight * 0.8 * scaling) : (horizontalLayout.implicitWidth + Style.marginM * 2 * scaling) - visible: hasActiveWindow + visible: windowTitle !== "" function calculatedVerticalHeight() { // Use standard widget height like other widgets