Skip to content

Desktop: permission-ask sound never plays with the new layout #48801

Closed as duplicate

Description

@liraz747

Description

With the new layout designs enabled, the desktop app never plays the permission-ask sound, even though the sound is enabled in settings. The session tab still shows the attention indicator (blue dot), and the turn-complete and error sounds still play normally.

Steps to reproduce

  1. Have general.newLayoutDesigns enabled (it is the default now) and sounds.permissionsEnabled: true.
  2. Ask the agent to run a tool that requires permission.
  3. The in-app permission request appears and the tab shows the attention indicator, but no sound plays. Meanwhile "finished" and "error" sounds still play.

Cause

The permission.asked sound (playSoundById(settings.sounds.permissions())) and the permission/question native notifications are only wired up in LegacyLayout's useSDKNotificationToasts in packages/app/src/pages/layout.tsx. NewLayout (packages/app/src/pages/layout-new.tsx) never mounts that hook, so the alert is skipped. Turn-complete and error sounds live in the shared NotificationProvider, which is why they are unaffected.

OpenCode version

1.18.30

Operating System

macOS 26

Activity

  1. github-actions commented on Sep 13, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of an existing issue. Please check:

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