From c911756f5e7f5356b993fcb564803d741aad0ffb Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Mon, 3 Nov 2025 22:05:35 -0500 Subject: [PATCH] IPC: allow IPC calls to open panels when the bar is invisible. --- Widgets/NFullScreenWindow.qml | 3 +++ shell.qml | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Widgets/NFullScreenWindow.qml b/Widgets/NFullScreenWindow.qml index 676074d1..4db7a09e 100644 --- a/Widgets/NFullScreenWindow.qml +++ b/Widgets/NFullScreenWindow.qml @@ -451,6 +451,9 @@ PanelWindow { id: barLoader asynchronous: false sourceComponent: root.barComponent + // Keep bar loaded but hide it when BarService.isVisible is false + // This allows panels to remain accessible via IPC + visible: BarService.isVisible // Fill parent to provide dimensions for Bar to reference anchors.fill: parent diff --git a/shell.qml b/shell.qml index 6e739668..8e207f67 100644 --- a/shell.qml +++ b/shell.qml @@ -206,8 +206,6 @@ ShellRoot { property bool shouldBeActive: { if (!i18nLoaded || !settingsLoaded) return false - if (!BarService.isVisible) - return false if (!modelData || !modelData.name) return false @@ -283,9 +281,9 @@ ShellRoot { } // BarExclusionZone - created after NFullScreenWindow has fully loaded - // Must also be disabled when bar is disabled (follows shouldBeActive) + // Must also be disabled when bar is hidden Loader { - active: parent.windowLoaded && parent.shouldBeActive + active: parent.windowLoaded && parent.shouldBeActive && BarService.isVisible asynchronous: false sourceComponent: BarExclusionZone {