GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — Exclude software-dimming overlay windows from screen capture by compoundworks · Pull Request #1877 · MonitorControl/MonitorControl ConversationProblemWhen a display is dimmed using software dimming (the black "shade" overlay), screenshots and screen recordings of that display come out darkened — the capture includes the dimming overlay. This is most visible on displays that have no DDC and no gamma support, such as DisplayLink / virtual displays, where the shade overlay is the only dimming mechanism available. Reported in:
Root cause
FixSet shade.sharingType = .none self.gammaActivityEnforcer.sharingType = .none Verification (macOS 15, DisplayLink displays)Enumerated MonitorControl's on‑screen windows via
With the fix, the dimmed display still looks dimmed to the eye, but No behavior change for users who don't use software dimming.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsFor displays without DDC or gamma support (e.g. DisplayLink / virtual displays), MonitorControl dims via a full-screen black 'shade' NSWindow. Because the shade window's sharingType defaults to .readOnly, it is captured by screenshots and screen recordings, so any capture taken while a display is dimmed comes out darkened (see discussions MonitorControl#1453, MonitorControl#866, MonitorControl#1446). Set sharingType = .none on the shade windows and the gamma activity enforcer so they no longer appear in screen captures. This is display-only chrome; excluding it from capture does not change what the user sees on screen. Virtual displays (AirPlay/Sidecar/DisplayLink) are themselves presented to the physical monitor via screen capture. Setting sharingType=.none on their shade would remove the dimming from the actual monitor, not just from screenshots. Guard the opt-out with !isVirtual so DisplayLink etc. keep dimming, while real displays using shade (e.g. Mac mini HDMI) still get screenshot-clean dimming.
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. This branch has not been deployedNo deployments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
AI contribution / fork recommendation
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |