You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent: Return in the pasted sign-in URL field quits the app (unpackaged builds) #1632
Pressing Return in the "Paste the URL you were redirected to" field quits Maple Agent instead of confirming the sign-in.
Steps
Run an unpackaged build (just run). Packaged Dev and Prod builds sign in through hosted OAuth and never show this field.
On the sign-in screen, choose GitHub, Google or Apple.
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.
Activity