mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-10-29 22:00:50 -06:00
[PR #1933] Fix Apple displays shown/controlled in menu when hidden/disabled by preference #1342
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
information
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#1342
Loading…
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/1933
Author: @morenopl
Created: 11/2/2026
Status: 🔄 Open
Base:
main← Head:fix-hide-apple-displays-in-menu📝 Commits (1)
66f4347Fix Apple displays shown/control in menu when hidden by preference📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
MonitorControl/Support/DisplayManager.swift(+2 -2)📝
MonitorControl/Support/MenuHandler.swift(+1 -1)📄 Description
Problem
The menu could show displays that should have been left out:
Cause
MenuHandlerbuilds a filtered list of displays, then callsDisplayManager.sortDisplaysByFriendlyName(). That function ignored the list and sortedDisplayManager.displays, which holds every display. Assigning the result back todisplaysreplaced the filtered list with the full one, so the filtering had no effect.Fix
sortDisplaysByFriendlyNamenow takes the displays to sort as a parameter, andMenuHandlerpasses in its filtered list. The sort order is unchanged.Testing
Tested locally:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.