Skip to content

Agent: Return in the pasted sign-in URL field quits the app (unpackaged builds) #1632

Closed

Description

@matthewrball

Pressing Return in the "Paste the URL you were redirected to" field quits Maple Agent instead of confirming the sign-in.

Steps

  1. Run an unpackaged build (just run). Packaged Dev and Prod builds sign in through hosted OAuth and never show this field.
  2. On the sign-in screen, choose GitHub, Google or Apple.
  3. Paste the redirected URL into the field and press Return.

What happens

The app quits. The log shows cannot read ui::text_input::TextInput while it is already being updated.

What should happen

Return confirms the sign-in, like the Confirm button does. Clicking the button works.

Cause

The field's Enter handler calls confirm_oauth, which reads the field back while gpui still holds it for the key event. That read panics, and a panic inside a macOS key callback aborts the process.

Seen twice during a real Google sign-in on macOS.

Activity

  1. added
    bug
    on Nov 17, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions