Skip to content

macOS: Fix launch-at-login registration. #310

Closed

Description

@JJJ

Pasted 1.0.1 can save Launch automatically after logging into macOS as enabled without registering a working macOS login item.

The frontend calls Tauri's autostart enable and disable commands, but the desktop capability does not grant either command. The rejected promise is only written to the webview console, so the persisted Pasted setting and the operating-system registration can disagree.

The configured AppleScript launcher also drops Pasted's --autostart argument. That prevents the application from recognizing a login launch even if registration succeeds.

Steps to reproduce:

  1. Install and open Pasted 1.0.1 on macOS.
  2. Enable Launch automatically after logging into macOS.
  3. Log out and back in.

Pasted does not launch. System Settings may retain background-task metadata for Pasted, but System Events has no active Pasted login item.

Expected behavior:

  • Enabling the setting registers Pasted for login startup.
  • Disabling it removes that registration.
  • Login launches retain the --autostart marker.
  • Automated contract coverage prevents the capability or launcher configuration from regressing.

Activity

  1. added this to the 1.0.2 milestone on Sep 5, 2026
  2. added
    bugSomething isn't working
    area: macOSmacOS-specific behavior and integration
    area: settingsSettings information architecture and UI
    priority: highHigh-value work to prioritize
    codex: workingCodex automation is preparing a draft pull request
    on Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: macOSmacOS-specific behavior and integrationarea: settingsSettings information architecture and UIbugSomething isn't workingcodex: workingCodex automation is preparing a draft pull requestpriority: highHigh-value work to prioritize

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions