fix(macos): start quietly when the Dock icon is hidden - #71
Merged
Conversation
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.
Why
HEX opens Settings on every app launch, even when the user has hidden its Dock icon. That makes a background voice utility interrupt startup and login unnecessarily.
Addresses the menu-bar-only startup case in #64 by reusing Show Dock icon, rather than introducing another preference.
What Changes
Before: a normal app launch opens Settings regardless of Dock visibility.
After: with the Dock icon hidden, completed setup, healthy permissions/model, and a successfully installed menu-bar item, HEX starts without opening a window. Dictation startup remains independent of Settings.
flowchart TD Launch[Launch HEX] --> Setup{Setup complete and ready?} Setup -- No --> Window[Open setup or Settings] Setup -- Yes --> Dock{Show Dock icon?} Dock -- Yes --> Window Dock -- No --> Menu{Menu-bar item installed?} Menu -- No --> Fallback[Show Dock icon and open Settings] Menu -- Yes --> Quiet[Start without a window]Demo
The release Settings preview built and launched, but screenshot capture failed with
could not create image from window. No screenshot or native startup/reopen demonstration is claimed.Scope
macOS startup-window policy, setting copy, and feature-map documentation. Login registration is unchanged, and there is no separate window preference for users who keep the Dock icon visible. No installed app or live preferences were changed during verification.
Verification
call_developerwarning. Screenshot capture failed as noted above.