fix(ipc): widget status distinguishes missing popouts from closed ones

fixes #3032
port 1.5

(cherry picked from commit 2f27eab949)
This commit is contained in:
bbedward authored and dms-ci[bot] committed 2026-08-10 22:35:28 +00:00
1 parent 83e2b89393
commit 58ff7e20e3
1 file changed
+3 -3
+3 -3
View File
@@ -1177,9 +1177,9 @@ Item {
if (!widget)
return `WIDGET_NOT_AVAILABLE: ${widgetId}`;
if (widget.popoutTarget?.shouldBeVisible)
return "visible";
return "hidden";
if (!widget.popoutTarget)
return `WIDGET_NO_POPOUT: ${widgetId}`;
return widget.popoutTarget.shouldBeVisible ? "visible" : "hidden";
}
function reveal(widgetId: string): string {