From e86c8f1ab776b03102142452c9a5c86cf536a8c4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 4 Oct 2026 14:00:09 -0400 Subject: [PATCH] Reveal indicators only before the clock (#14267) --- manual/05-the-top-bar.md | 2 +- shell/plugins/bar/Bar.qml | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/manual/05-the-top-bar.md b/manual/05-the-top-bar.md index 3f558d93..41646560 100644 --- a/manual/05-the-top-bar.md +++ b/manual/05-the-top-bar.md @@ -73,7 +73,7 @@ Removing either service takes its widget back off the bar. ## Indicators -The little cluster in the center is the indicators widget. These are status glyphs for modes you've turned on: do not disturb, night light, a queued [reminder](09-reminders.md), an active screen recording, stay awake, and [dictation](11-text-extraction-dictation.md). They light up when the mode is active and otherwise stay out of the way — hover the center of the bar to peek at the inactive ones. Clicking an indicator toggles that mode. +The little cluster in the center is the indicators widget. These are status glyphs for modes you've turned on: do not disturb, night light, a queued [reminder](09-reminders.md), an active screen recording, stay awake, and [dictation](11-text-extraction-dictation.md). They light up when the mode is active and otherwise stay out of the way — hover to the left of the clock (above it on a vertical bar) to peek at the inactive ones. Clicking an indicator toggles that mode. If you'd rather they were always visible, set `alwaysShow` to `true` on the widget. And if you only care about some of them, list the ones you want in `items`: `["Dnd", "Reminder", "NightLight"]`. You can have more than one indicators widget, so different sections can show different subsets. diff --git a/shell/plugins/bar/Bar.qml b/shell/plugins/bar/Bar.qml index 4d5771ab..745adc66 100644 --- a/shell/plugins/bar/Bar.qml +++ b/shell/plugins/bar/Bar.qml @@ -1564,8 +1564,15 @@ Item { CenterGestureArea { anchors.fill: parent } - HoverHandler { - onHoveredChanged: root.setCenterSectionHovered(hovered) + Item { + anchors.left: parent.left + anchors.right: centerRoot.hasAnchor ? centerAnchorModule.left : parent.right + anchors.top: parent.top + anchors.bottom: parent.bottom + + HoverHandler { + onHoveredChanged: root.setCenterSectionHovered(hovered) + } } ModuleList { @@ -1609,8 +1616,15 @@ Item { CenterGestureArea { anchors.fill: parent } - HoverHandler { - onHoveredChanged: root.setCenterSectionHovered(hovered) + Item { + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + anchors.bottom: centerRoot.hasAnchor ? centerAnchorModule.top : parent.bottom + + HoverHandler { + onHoveredChanged: root.setCenterSectionHovered(hovered) + } } ModuleList {