Skip to content

[Web UI] "Auto-accept permissions" button is disabled when "New layout and design" is enabled. #31137

Closed as not planned

Description

@Billyism

Description

Image "Auto-accept permissions" button is disabled when "New layout and design" is enabled.

The button works perfectly fine in the default (classic) layout.
Image

It appears that in the new layout, the settings page fails to associate with a specific project. As a result, the "Auto-accept permissions" button lacks the necessary project context and cannot identify which project it belongs to, causing it to malfunction.

Plugins

none

OpenCode version

1.16.0

Steps to reproduce

"Auto-accept permissions" button is disabled when "New layout and design" is enabled.
The button works perfectly fine in the default (classic) layout.

Screenshot and/or share link

Image Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. greatbody commented on Jun 7, 2026

    @greatbody

    Same issue

  2. mschwartz1320 commented on Jul 29, 2026

    @mschwartz1320

    I can take a focused fix for this if it is not already in progress. The proposed scope is to pass the active session/directory context into the settings dialog, then use the existing session/directory auto-accept API from the toggle. No new persistent global policy or permission semantics.

    I would include regression coverage plus Desktop screenshots. Would that approach be welcome?

  3. michaelbuckner commented on Aug 6, 2026

    @michaelbuckner

    Same issue.

  4. wodnerpie commented on Aug 13, 2026

    @wodnerpie

    same issue, no idea why, the CLI allows me to switch but not the desktop app

  5. kazemane-sketch commented on Aug 23, 2026

    @kazemane-sketch

    same issue

  6. j-jacobi commented on Aug 24, 2026

    @j-jacobi

    Temporary workaround: Open the Command Palette (Cmd+P) and toggle "Auto-accept permissions".

    This change will not be reflected in the settings UI.

  7. microhobby commented on Aug 31, 2026

    @microhobby

    Same issue

  8. meetr1912 commented on Sep 15, 2026

    @meetr1912

    issue still present.

  9. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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