Skip to content

Password field in “Add server” dialog cannot receive focus/input on Windows Desktop #41501

Description

@otakichi1985

In the OpenCode Desktop app on Windows, the password field in the Settings → Servers → Add server dialog cannot be interacted with.
Clicking the password field does not focus it, and text cannot be entered or pasted.
Keyboard navigation also appears to be broken: pressing Tab while the dialog is open moves focus to controls in the settings page behind the modal instead of moving between fields inside the dialog.
This makes it impossible to add a remote OpenCode server that requires password authentication from the Desktop UI.
Steps to reproduce
Open OpenCode Desktop on Windows.
Open Settings.
Go to Servers.
Click Add server.
Enter a server URL / name / username.
Try to click the Password field.
Try typing or pasting a password.
Try navigating to the password field with Tab.
Expected behavior
Clicking the password field should focus it.
Typing and pasting should work.
Tab should move focus between controls inside the modal.
Focus should not escape to the settings page behind the modal while the dialog is open.
Actual behavior
The password field cannot be focused by clicking.
Typing and pasting do not work.
Tab moves focus to controls behind the modal.
Impact
It prevents configuring an authenticated remote OpenCode server through the Desktop UI.
Environment
OS: Windows 11
OpenCode Desktop:v1.18.16

opencodedesktopissue.mp4

Additional context
I was able to connect to the same OpenCode server from a mobile client using the same URL/credentials, so the server authentication itself appears to be working.
Screenshot attached.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions