mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[PR #1859] [CLOSED] Feature/macos26 brightness hud #1293
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/MonitorControl#1293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MonitorControl/MonitorControl/pull/1859
Author: @Darkroom4364
Created: 4/15/2026
Status: ❌ Closed
Base:
main← Head:feature/macos26-brightness-hud📝 Commits (2)
191b8e3feat: custom brightness HUD for macOS 26+e79c47cfix: guard window race in fade completion, fix label clipping📊 Changes
3 files changed (+130 additions, -0 deletions)
View changed files
📝
MonitorControl.xcodeproj/project.pbxproj(+4 -0)➕
MonitorControl/Support/BrightnessHUDController.swift(+122 -0)📝
MonitorControl/Support/OSDUtils.swift(+4 -0)📄 Description
This pull request introduces a new custom brightness HUD overlay for macOS 15 (Sonoma) and above, replacing the system OSD for brightness changes on supported systems. The main change is the addition of the
BrightnessHUDController, which displays a modern, animated heads-up display when brightness is adjusted. The implementation is modular and only activates on macOS 15 or newer, maintaining the existing behavior on older versions.Key changes:
Feature Addition: Custom Brightness HUD
BrightnessHUDController.swiftimplementing a custom heads-up display for brightness changes, including a controller and a visual effect view for the overlay. The HUD shows the current brightness as a percentage with a progress bar and icon, animates its appearance and disappearance, and is managed per display.BrightnessHUDController.swiftin the Xcode project file, adding it to the project group and build sources. [1] [2] [3] [4]Integration with Existing OSD Logic
OSDUtils.swiftto use the newBrightnessHUDControllerfor brightness commands on macOS 15 and above, falling back to the legacy OSD otherwise.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.