# 003: Audio icon freezes entire window

**Reporter:** cthegray
**Date:** 2026-03-03
**Priority:** critical
**Status:** open
**Affects:** iPhone (Safari, latest iOS), macOS (Safari, latest macOS)

## Description

Tapping the audio icon in the bottom bar (the global one, not the per-message TTS icon) causes the entire uncloseai window to freeze. Nothing responds after this: buttons, scrolling, even the close (X) button. Complete UI lockup.

## Reproduction

1. Open uncloseai in Safari (iPhone or macOS)
2. Have a conversation with at least one response visible
3. Tap the audio icon in the bottom navigation bar
4. Window freezes completely
5. Cannot interact with anything, cannot close the panel

## Analysis

This is a main-thread blocking issue. Possible causes:
- Synchronous API call on the main thread (blocking fetch or XHR without async)
- Infinite loop in audio initialization or playback setup
- Unresolved promise or callback deadlock
- AudioContext creation failing silently and triggering a retry loop
- Safari-specific Web Audio API quirk (Safari requires user gesture to resume AudioContext, failure to handle this could cause a hang)

## Notes

This is the highest priority issue: a complete UI freeze with no recovery path is a showstopper. The user has to force-close the tab/app. Needs investigation into what the bottom-bar audio icon's click handler does differently from the per-message TTS icon.
