Skip to content

fix: never raise the settings window on activation or login launch - #4

Merged
MattModeCode merged 1 commit into
mainfrom
fix/no-surprise-window
Dec 4, 2026
Merged

MattModeCode merged 1 commit into
mainfrom
fix/no-surprise-window

Conversation

@MattModeCode

Copy link
Copy Markdown
Owner

The window came to the front by itself. The macOS activate handler showed it whenever the app was activated (a clicked notification, an open -g), and a login launch was not treated as hidden, so it opened whenever no password was saved.

The activate handler is removed, the login item passes --hidden, and a macOS login launch counts as hidden. The tray menu and an explicit open still show it.

Test plan:

  • npm test (121 pass), npm run test:electron
  • CI
  • Installed app: hidden launch shows no window

@MattModeCode
MattModeCode merged commit 5bdb526 into main Dec 4, 2026
3 checks passed
@MattModeCode
MattModeCode deleted the fix/no-surprise-window branch December 4, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant