Skip to content

fix: legacy login item reset and notification hold on auto-hide - #553

Merged
tieubao merged 4 commits into
developfrom
fix/login-reset-nc-guard
Nov 18, 2026
Merged

tieubao merged 4 commits into
developfrom
fix/login-reset-nc-guard

Conversation

@tieubao

@tieubao tieubao commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Two more fixes from the open-issue triage, plus changelog entries that 1.13.1 missed.

Commit Change Issue
legacy login item reset The reset now keys on a new flag, so Macs that passed through 1.11 or 1.11.1 run it Refs #456
notification hold A plain notification no longer holds auto-hide for up to 10 minutes; the guard asks whether the panel itself is open Refs #524
panel check scope The panel check applies on macOS 27 and later only follow-up to the row above
changelog Unreleased entries, plus three shipped 1.13.1 fixes (#530, #531, #533) docs

Risks to weigh before the release

  • Login item: 1.11 and 1.11.1 set the old flag even when the removal failed, and nothing tells those Macs from clean ones. Every install with the old sandbox container and "Open Hidden Bar at login" on therefore turns its login item off and on once more. Whether macOS shows its "login item added" notification again is not verified.
  • Notification Center: the panel check looks for the widget-editor-button identifier, which was verified on macOS 27.0.1 only. If a later 27.x drops it, auto-hide can collapse the bar under an open panel. An unreadable result still counts as open.

Tests

Run in the mac-ui VM, Hidden Bar scheme, Debug-Direct, with -only-testing:

  • Autostart suites: 33 passed. Negative control: the 3 new tests fail on the old key.
  • AutoCollapsePopupGuardTests: 21 passed. Negative control: 2 fail with the guard line removed.
  • Hidden Bar App Store build-for-testing succeeded.
  • The macOS version gate was added after those runs. CI is its first run.

1.11 and 1.11.1 set smAppServiceMigrated even when removing the old
LauncherApplication login item failed, so the reset added later never ran
for users who passed through them. No in-app signal tells those users from
ones a later build cleaned, so the reset now keys off legacyLoginItemReset
and every launcher-era install runs it once more. Launch at login off
still waits and touches nothing.

Refs #456
The popup guard took any screen-tall Notification Center window for an
open panel and deferred the collapse up to 10 minutes. On macOS 27 a
plain notification keeps that window up. The guard now asks the clock's
Accessibility check whether the panel is really open, only after such a
window is found, and skips the window when it is not.

Refs #524
Adds the legacy login item reset and the notification hold fix under
Unreleased, and the collapse give-up, capture listener leak and
outside-Applications items under v1.13.1. Refs #456 Refs #524
@tieubao
tieubao merged commit b00ae3f into develop Nov 18, 2026
3 checks passed
@tieubao
tieubao deleted the fix/login-reset-nc-guard branch November 18, 2026 15:17
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