From e318fad713cf758d5b12209021aa67eb0a7f289c Mon Sep 17 00:00:00 2001 From: zhangkun2 Date: Tue, 15 Sep 2026 11:19:54 +0800 Subject: [PATCH] fix: set ComboBox popup to Window mode to prevent clipping ComboBox popup did not set popupType, inheriting Qt default T.Popup.Item, which renders the popup as an item inside the parent window. When the popup content exceeds the parent window boundary (e.g. long font lists in control-center), it gets clipped. Set popupType: T.Popup.Window so the popup renders as a standalone top-level window, leveraging the existing Popup.Window infrastructure (StyledBehindWindowBlur background, PopupHandle, focus transfer handling) already implemented in the DTK Popup/ComboBox codebase. PMS: BUG-327721 --- qt6/src/qml/ComboBox.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/qt6/src/qml/ComboBox.qml b/qt6/src/qml/ComboBox.qml index cb35c3c38..fc6978bf9 100644 --- a/qt6/src/qml/ComboBox.qml +++ b/qt6/src/qml/ComboBox.qml @@ -169,6 +169,7 @@ T.ComboBox { popup: Popup { id: popup + popupType: T.Popup.Window leftMargin: DS.Style.popup.margin rightMargin: DS.Style.popup.margin palette: control.palette