From f366585cd64e0025803a8ee9b31805df71b3b853 Mon Sep 17 00:00:00 2001 From: Saman Shirdel Date: Tue, 21 Jul 2026 18:26:36 +0330 Subject: [PATCH 1/4] fix(clock): display date, week, and year vertically in vertical --- shell/plugins/bar/widgets/Clock.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/shell/plugins/bar/widgets/Clock.qml b/shell/plugins/bar/widgets/Clock.qml index fdcb8793e8..f90d0d80e9 100644 --- a/shell/plugins/bar/widgets/Clock.qml +++ b/shell/plugins/bar/widgets/Clock.qml @@ -12,7 +12,7 @@ BarWidget { property date displayDate: clock.date readonly property string activeFormat: alt - ? setting("formatAlt", "d MMMM 'W'ww yyyy") + ? (bar && bar.vertical ? setting("verticalFormatAlt", "dd\nMMM\n'W'ww\nyyyy") : setting("formatAlt", "d MMMM 'W'ww yyyy")) : (bar && bar.vertical ? setting("verticalFormat", "HH\n—\nmm") : setting("format", "dddd HH:mm")) readonly property string displayText: formatted(displayDate) readonly property var verticalLines: displayText.split("\n") @@ -71,17 +71,21 @@ BarWidget { Column { visible: root.vertical anchors.fill: parent + spacing: 1 Repeater { model: root.verticalLines OpticalGlyph { required property string modelData + required property int index width: button.width height: Style.bar.iconSlot text: modelData fontFamily: button.fontFamily - fontSize: button.fontSize + fontSize: root.alt && index === root.verticalLines.length - 1 + ? button.fontSize * 0.8 + : button.fontSize color: button.foreground } } From 0b932cfa8818d2d951b60fea7bcf812f87d518dc Mon Sep 17 00:00:00 2001 From: Saman Shirdel Date: Tue, 21 Jul 2026 19:02:50 +0330 Subject: [PATCH 2/4] fix vertical date alignment in panel --- shell/plugins/bar/widgets/Clock.qml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/shell/plugins/bar/widgets/Clock.qml b/shell/plugins/bar/widgets/Clock.qml index f90d0d80e9..65445638bc 100644 --- a/shell/plugins/bar/widgets/Clock.qml +++ b/shell/plugins/bar/widgets/Clock.qml @@ -71,8 +71,7 @@ BarWidget { Column { visible: root.vertical anchors.fill: parent - spacing: 1 - + Repeater { model: root.verticalLines @@ -83,9 +82,9 @@ BarWidget { height: Style.bar.iconSlot text: modelData fontFamily: button.fontFamily - fontSize: root.alt && index === root.verticalLines.length - 1 - ? button.fontSize * 0.8 - : button.fontSize + fontSize: modelData.length > 3 + ? button.fontSize * 0.9 + : button.fontSize color: button.foreground } } From fb742a1c23970eb0d2e97687309c2f1ca3a31239 Mon Sep 17 00:00:00 2001 From: Saman Shirdel Date: Tue, 21 Jul 2026 19:07:54 +0330 Subject: [PATCH 3/4] Update Clock.qml --- shell/plugins/bar/widgets/Clock.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/plugins/bar/widgets/Clock.qml b/shell/plugins/bar/widgets/Clock.qml index 65445638bc..9527a11575 100644 --- a/shell/plugins/bar/widgets/Clock.qml +++ b/shell/plugins/bar/widgets/Clock.qml @@ -83,7 +83,7 @@ BarWidget { text: modelData fontFamily: button.fontFamily fontSize: modelData.length > 3 - ? button.fontSize * 0.9 + ? button.fontSize * 0.9 : button.fontSize color: button.foreground } From e3220eb01d9b77e1b2eb83b30677dbd45cd39c0a Mon Sep 17 00:00:00 2001 From: Saman Shirdel Date: Tue, 21 Jul 2026 19:16:52 +0330 Subject: [PATCH 4/4] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- shell/plugins/bar/widgets/Clock.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/plugins/bar/widgets/Clock.qml b/shell/plugins/bar/widgets/Clock.qml index 9527a11575..5547343134 100644 --- a/shell/plugins/bar/widgets/Clock.qml +++ b/shell/plugins/bar/widgets/Clock.qml @@ -77,7 +77,6 @@ BarWidget { OpticalGlyph { required property string modelData - required property int index width: button.width height: Style.bar.iconSlot text: modelData