v2.2.4: cold-start file-open opens only the clicked file - #33
Merged
Conversation
Real sha256 for both DMGs from the published Release; pushed to the tap via update-cask.sh. Records the v2.2.3 release in CHANGES.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
resolve_startup_windows now waits a 100ms grace after RunEvent::Ready, then returns early when startup_opened_file is set. A Launch Services / Finder file-open launch (had_cli_args=false) delivers its file via RunEvent::Opened, which can land just after Ready; observing it here lets the launch open ONLY the clicked file by skipping session restore and the welcome window. Plain app-icon launch (no Opened) still restores the saved session; CLI launch still skips both via had_cli_args. Bump 2.2.3 -> 2.2.4. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Bumps 2.2.3 -> 2.2.4.
Fix
resolve_startup_windowswaits a 100ms grace afterRunEvent::Ready, then returns early whenstartup_opened_fileis set. A Launch Services / Finder file-open launch (had_cli_args=false) delivers its file viaRunEvent::Opened, which can land just afterReady; observing it here lets the launch open ONLY the clicked file by skipping session restore and the welcome window.had_cli_args(unchanged)Verify
cargo fmt && cargo checkexit 0. Local unsigned 2.2.4 bundle built. Launch Services not unit-testable; manual smoke for the three cases.🤖 Generated with Claude Code