feat(capture): add control center hide toggle - #217
Merged
hthienloc merged 2 commits intoAug 11, 2026
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds a user-configurable setting to control whether the Control Center is automatically hidden before starting a screenshot capture, and updates the capture daemon logic to respect this setting and adjust the capture flow accordingly. Sequence diagram for capture flow with hideControlCenter togglesequenceDiagram
participant QuickCaptureDaemon
participant ControlCenter
participant captureDelayTimer
QuickCaptureDaemon->>QuickCaptureDaemon: startCapture(finalAction, finalMode)
QuickCaptureDaemon->>QuickCaptureDaemon: [pluginData.hideControlCenter !== false]
alt hideControlCenter enabled
QuickCaptureDaemon->>ControlCenter: closeControlCenter()
QuickCaptureDaemon->>captureDelayTimer: captureDelayTimer.start()
else hideControlCenter disabled
QuickCaptureDaemon->>QuickCaptureDaemon: startActualCapture()
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The condition
if (pluginData.hideControlCenter !== false)is slightly counterintuitive; consider using a more explicit boolean check (e.g.,=== trueor handlingnull/undefinedseparately) so the behavior is clearer when the setting is unset or has unexpected values. - When
hideControlCenteris disabled you bypasscaptureDelayTimer; if there are any expectations elsewhere that the delay timer always runs beforestartActualCapture, it might be safer to factor the delay logic so both paths go through a single, consistent flow.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The condition `if (pluginData.hideControlCenter !== false)` is slightly counterintuitive; consider using a more explicit boolean check (e.g., `=== true` or handling `null/undefined` separately) so the behavior is clearer when the setting is unset or has unexpected values.
- When `hideControlCenter` is disabled you bypass `captureDelayTimer`; if there are any expectations elsewhere that the delay timer always runs before `startActualCapture`, it might be safer to factor the delay logic so both paths go through a single, consistent flow.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
korbash
force-pushed
the
feat/hide-control-center-toggle
branch
from
August 11, 2026 12:09
5237ab6 to
c38063c
Compare
Owner
|
@korbash I changed it so users can toggle this directly from Control Center, while the Settings option controls the default state. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
Adds option don't close Control Center before starting a screenshot capture.
Use Case
Some users want screenshots to include the current shell UI, such as Control Center/quick settings, without waiting for the popout close animation before capture begins.
Changes
Hide Control Centertoggle under Capture Options, enabled by default to preserve existing behaviorhideControlCenteris enabledChecklist