Repository navigation
Description
🤖 This pull request was created by Repo Assist, an automated AI assistant.
Problem
The system tray tooltip always shows the static text "Windows Edge Light - Right-click for options", giving no indication of the current light state. Users have to right-click or open the control bar to check brightness or whether the light is on.
Fix
Replaces the static tooltip with a dynamic UpdateTrayTooltip() method that reflects live state:
Windows Edge Light [On] 80% Warm
Windows Edge Light [Off] 60% Cool
Windows Edge Light [On] 100% Neutral
UpdateTrayTooltip() is called after:
ToggleLight()— on/off changeSetBrightness()— brightness changeSetColorTemperature()— temperature changeSetupNotifyIcon()— initial setup (uses loaded settings)
Notes
- Tooltip format stays within WinForms' 63-character limit (longest possible: 38 chars)
- Temperature label buckets:
< 0.3 → Cool,> 0.7 → Warm, otherwiseNeutral - Zero breaking changes — purely additive
Test Status
✅ Build succeeded on Linux with -p:EnableWindowsTargeting=true (net10.0-windows WPF target).
🧪 No automated tests exist for the tray tooltip (UI component); manually verify by adjusting brightness/temperature and hovering over the tray icon.
Note
🔒 Integrity filter blocked 2 items
The following items were blocked because they don't meet the GitHub integrity level.
- #144
list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - Detect camera is being used by another application and automatically turn on #21
list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
To allow these resources, lower min-integrity in your GitHub frontmatter:
tools:
github:
min-integrity: approved # merged | approved | unapproved | noneGenerated by Repo Assist · ● 4.7M · ◷
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/repo-assist.md@cbb46ab386962aa371045839fc9998ee4e97ca64
Note
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch repo-assist/improve-tray-tooltip-2026-08-06-9f5d779f50bbbec9.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (88 of 88 lines)
From f42678fbb3efba8a3c46a523b446b0606f8c561b Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Thu, 6 Aug 2026 13:27:19 +0000
Subject: [PATCH] improve: show current light state in system tray tooltip
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The tray tooltip now reflects live state (on/off, brightness %, and
colour temperature label) so users can check status at a glance without
right-clicking.
- Replace static tooltip text with UpdateTrayTooltip()
- Call UpdateTrayTooltip() after ToggleLight, SetBrightness, and
SetColorTemperature
- Tooltip format: "Windows Edge Light [On] 80% Warm" (≤63 chars)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
WindowsEdgeLight/MainWindow.xaml.cs | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/WindowsEdgeLight/MainWindow.xaml.cs b/WindowsEdgeLight/MainWindow.xaml.cs
index 3644301..6704b15 100644
--- a/WindowsEdgeLight/MainWindow.xaml.cs
+++ b/WindowsEdgeLight/MainWindow.xaml.cs
@@ -197,7 +197,7 @@ public partial class MainWindow : Window
notifyIcon.Icon = System.Drawing.SystemIcons.Application;
}
- notifyIcon.Text = "Windows Edge Light - Right-click for options";
+ notifyIcon.Text = "Windows Edge Light";
notifyIcon.Visible = true;
var contextMenu = new ContextMenuStrip();
@@ -232,6 +232,7 @@ public partial class MainWindow : Window
// Set initial menu text based on current state
UpdateTrayMenuToggleControlsText();
+ UpdateTrayTooltip();
}
private void ShowHelp()
@@ -727,6 +728,7 @@ Version {version}";
settings.IsLightOn = isLightOn;
settings.Save();
+ UpdateTrayTooltip();
}
public void HandleToggle()
@@ -764,6 +766,16 @@ Version {version}";
}
}
+ private void UpdateTrayTooltip()
+
... (truncated)
Activity
shanselman commentedon Aug 8, 2026
The dynamic tray tooltip is cosmetic and does not meet the significance bar for added state-sync maintenance.