Skip to content

Fix microphone permissions in auxiliary windows - #329240

Merged
meganrogge merged 2 commits into
mainfrom
agents/fix-vscode-issue-329074
Aug 5, 2026
Merged

Fix microphone permissions in auxiliary windows#329240
meganrogge merged 2 commits into
mainfrom
agents/fix-vscode-issue-329074

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

Fixes #329074

Registered auxiliary workbench windows are now treated as core windows by Electron permission request and check handlers. This allows speech-to-text microphone access when chat is moved into a floating window while preserving permission restrictions for webviews and external pages.

Validation:

  • Targeted ESLint passes for src/vs/code/electron-main/app.ts
  • git diff --check passes

Fixes #329074

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 5, 2026 18:32
@meganrogge meganrogge self-assigned this Aug 5, 2026
@meganrogge meganrogge added this to the 1.133.0 milestone Aug 5, 2026
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@deepak1556

Matched files:

  • src/vs/code/electron-main/app.ts

dmitrivMS
dmitrivMS previously approved these changes Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables microphone permissions in auxiliary workbench windows.

Changes:

  • Recognizes registered auxiliary windows as core permission requesters.
  • Applies this recognition to permission request and check handlers.
Show a summary per file
File Description
src/vs/code/electron-main/app.ts Extends core permission handling to auxiliary windows.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread src/vs/code/electron-main/app.ts Outdated
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
@meganrogge
meganrogge merged commit c073c56 into main Aug 5, 2026
29 checks passed
@meganrogge
meganrogge deleted the agents/fix-vscode-issue-329074 branch August 5, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Speech-to-text fails with NotAllowedError: Permission denied in auxiliary (floating) chat windows

6 participants