From 9235d2403f4ee726efd3d522d2509da9ee84852d Mon Sep 17 00:00:00 2001 From: reionwong Date: Wed, 2 Sep 2026 21:58:12 -0400 Subject: [PATCH] fix(filemanager): accept a plain window as the archive dialog host --- qml/ArchiveProgressDialog.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qml/ArchiveProgressDialog.qml b/qml/ArchiveProgressDialog.qml index aa8a596..f50ff13 100644 --- a/qml/ArchiveProgressDialog.qml +++ b/qml/ArchiveProgressDialog.qml @@ -9,7 +9,9 @@ FishUI.Window { id: control property QtObject archiveModel - property Window hostWindow + // Not `Window`: that is QtQuick.Window's own type, and the desktop's host + // window is a QQuickWindow subclass from C++, which is not one. + property QtObject hostWindow flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint modality: Qt.NonModal