mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #961] Add option to generally use display serial number instead of CGDirectDisplayID for preferences #584
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#584
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?
Originally created by @waydabber on GitHub (Feb 23, 2022).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/961
Discussed in https://github.com/MonitorControl/MonitorControl/discussions/960
With Apple Silicon
CGDirectDisplayIDis not as unique as it was with Intel but a simple number that is related to the connection's location in the IO registry. The problem is that MonitorControl stores preferences attached to this ID which can cause unexpected things especially when two displays with very different characteristics are being connected to the same port at successive occasions. There should be an option to use display serial number for associating preferences instead ofCGDirectDisplayID.@waydabber commented on GitHub (Feb 23, 2022):
Also see this one - https://github.com/MonitorControl/MonitorControl/issues/792
@waydabber commented on GitHub (Feb 24, 2022):
All right... I was wrong, I checked the code again and realized that I actually already changed how preferences ID works in MC, since 4.0.0 the preferences ID also contains data from display name, vendor and model number as a composite ID and this is what is tied to a specific display's stored settings (the ID should be something like
(LGUltraHD778923305@2)where only the@2is the port/ID part and all the stuff before that contains other things that it makes the display unique). :] This means it should not get confused between the two displays, that was a problem in 3.0.0 only.I'll close this one.