Repository navigation
Conversation
The app bundle declared no LSUIElement — only the extension's plist did — so macOS launched it as a plain foreground app. It left the Dock only if `applicationDidFinishLaunching` reached `setActivationPolicy(.accessory)`; any launch that did not get there stayed a foreground app with a Dock tile. The startup-failure path runs before that line (AppDelegate.init → StartupFailure.presentAndExit, which presents an alert from inside init), and a first launch after install that fails early looks like an app parked in the Dock. That is what #157 and #145 describe, including the part where a reboot clears it. Measured with a clean state before the change: the running build reports type="UIElement" and has no Dock tile, so declaring LSUIElement removes the window in which a broken launch could leave one rather than changing the happy path. That retires `SHOW_IN_DOCK` and its dead predecessor `SHOW_DOCK_ICON`: nothing has written either key for several releases and the settings UI no longer offers the switch, so the read could only ever produce "hide" while users went looking for a control that does not exist. RClick is a menu bar app; the Dock is not a place it should appear, so the choice is removed rather than restored. Also records what the volume-root experiment measured (#155, #158): observing a volume root is what makes Finder redraw that volume's sidebar icon, while observing the volume's contents instead cannot work at all — the sandbox allows reading `/Volumes` but not `/Volumes/<name>` (application.sb:522), so the volume contributes no observation roots and the menu disappears from it entirely. The menu keeps priority; the icon stays a documented macOS consequence. Version 2.3.1, build 20261014001. Co-Authored-By: Claude Code <[email protected]>
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.
The app bundle declared no LSUIElement — only the extension's plist did — so macOS launched it as a plain foreground app. It left the Dock only if
applicationDidFinishLaunchingreachedsetActivationPolicy(.accessory); any launch that did not get there stayed a foreground app with a Dock tile. The startup-failure path runs before that line (AppDelegate.init → StartupFailure.presentAndExit, which presents an alert from inside init), and a first launch after install that fails early looks like an app parked in the Dock. That is what #157 and #145 describe, including the part where a reboot clears it. Measured with a clean state before the change: the running build reports type="UIElement" and has no Dock tile, so declaring LSUIElement removes the window in which a broken launch could leave one rather than changing the happy path.That retires
SHOW_IN_DOCKand its dead predecessorSHOW_DOCK_ICON: nothing has written either key for several releases and the settings UI no longer offers the switch, so the read could only ever produce "hide" while users went looking for a control that does not exist. RClick is a menu bar app; the Dock is not a place it should appear, so the choice is removed rather than restored.Also records what the volume-root experiment measured (#155, #158): observing a volume root is what makes Finder redraw that volume's sidebar icon, while observing the volume's contents instead cannot work at all — the sandbox allows reading
/Volumesbut not/Volumes/<name>(application.sb:522), so the volume contributes no observation roots and the menu disappears from it entirely. The menu keeps priority; the icon stays a documented macOS consequence.Version 2.3.1, build 20261014001.
Summary
Type of Change
Related Issue
Screenshots
Testing
Manual Testing
Build Verification
Checklist
devAdditional Notes