From b8cca4167bbf9bf626fc0eaded5b7997dd761cb6 Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 25 Feb 2026 20:42:17 -0800 Subject: [PATCH] fix: show inline progress in QPOV2 despite stale overlay flag (#9214) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Fix inline queue progress being hidden in QPOV2 mode when a stale `Comfy.Queue.History.Expanded` setting remains true from legacy queue overlay usage. ## Changes - Update actionbar inline progress hide condition to respect queue-overlay expansion only when QPOV2 is disabled - Update top menu inline progress summary hide condition with the same gate - Keep legacy behavior unchanged for non-QPOV2 queue overlay mode ## Testing - `pnpm exec eslint src/components/actionbar/ComfyActionbar.vue src/components/TopMenuSection.vue` ✅ - `pnpm typecheck` ✅ ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9214-fix-show-inline-progress-in-QPOV2-despite-stale-overlay-flag-3126d73d36508170ac27fbb26826dca9) by [Unito](https://www.unito.io) --- src/components/TopMenuSection.vue | 9 +++++++-- src/components/actionbar/ComfyActionbar.vue | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index a91d5e848f..2b94d5d509 100644 --- a/src/components/TopMenuSection.vue +++ b/src/components/TopMenuSection.vue @@ -127,13 +127,15 @@
- +
{ } return progressTarget.value }) +const shouldHideInlineProgressSummary = computed( + () => isQueueProgressOverlayEnabled.value && isQueueOverlayExpanded.value +) const queueHistoryTooltipConfig = computed(() => buildTooltipConfig(t('sideToolbar.queueProgressOverlay.viewJobHistory')) ) diff --git a/src/components/actionbar/ComfyActionbar.vue b/src/components/actionbar/ComfyActionbar.vue index 11435bd7ec..652e3cf171 100644 --- a/src/components/actionbar/ComfyActionbar.vue +++ b/src/components/actionbar/ComfyActionbar.vue @@ -47,7 +47,7 @@ @@ -287,6 +287,9 @@ const inlineProgressTarget = computed(() => { if (isDocked.value) return topMenuContainer ?? null return panelElement.value }) +const shouldHideInlineProgress = computed( + () => !isQueuePanelV2Enabled.value && queueOverlayExpanded +) watch( panelElement, (target) => {