From d9101c24157bb51da182831e7cbaf5863be0030e Mon Sep 17 00:00:00 2001 From: Damocles Date: Fri, 17 Apr 2026 09:34:05 +0200 Subject: [PATCH 1/2] fix(hover-panel): restore top border radius --- modules/HoverPanel.qml | 3 +-- modules/PopupBackground.qml | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/HoverPanel.qml b/modules/HoverPanel.qml index e930f67..878ae3a 100644 --- a/modules/HoverPanel.qml +++ b/modules/HoverPanel.qml @@ -363,8 +363,7 @@ PanelWindow { color: "transparent" border.color: root.accentColor border.width: 1 - bottomLeftRadius: M.Theme.radius - bottomRightRadius: M.Theme.radius + radius: M.Theme.radius opacity: panelContainer.opacity } } diff --git a/modules/PopupBackground.qml b/modules/PopupBackground.qml index b71da4d..b4ea7dc 100644 --- a/modules/PopupBackground.qml +++ b/modules/PopupBackground.qml @@ -6,10 +6,7 @@ Rectangle { color: M.Theme.base01 opacity: Math.max(M.Theme.barOpacity, 0.85) - topLeftRadius: 0 - topRightRadius: 0 - bottomLeftRadius: M.Theme.radius - bottomRightRadius: M.Theme.radius + radius: M.Theme.radius border.color: accentColor border.width: 1 } From ce14a170a5a502eb1a5319eb76b86343d054f8e9 Mon Sep 17 00:00:00 2001 From: Damocles Date: Fri, 17 Apr 2026 09:34:25 +0200 Subject: [PATCH 2/2] fix(window-title): use named property instead of read-only implicitWidth --- modules/Bar.qml | 2 +- modules/WindowTitle.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Bar.qml b/modules/Bar.qml index d542b85..809edad 100644 --- a/modules/Bar.qml +++ b/modules/Bar.qml @@ -148,7 +148,7 @@ PanelWindow { M.WindowTitle { id: _windowTitle readonly property real _maxWidth: Math.max(0, centerSection.x - _windowTitleGroup.x - 2 * M.Theme.groupPadding - M.Theme.groupSpacing) - width: Math.min(implicitWidth, _maxWidth) + width: Math.min(naturalWidth, _maxWidth) } } Item { diff --git a/modules/WindowTitle.qml b/modules/WindowTitle.qml index a22856c..9c4415b 100644 --- a/modules/WindowTitle.qml +++ b/modules/WindowTitle.qml @@ -19,7 +19,7 @@ M.BarSection { readonly property real _iconOffset: _icon.visible ? _icon.width + root.spacing : 0 // Natural content width — Bar.qml uses this to cap the group width - implicitWidth: _iconOffset + _label.implicitWidth + readonly property real naturalWidth: _iconOffset + _label.implicitWidth IconImage { id: _icon