Skip to content

Transcript stops being captured after toggling captions (CC) off and back on during a meeting #93

@Alorse

Description

@Alorse

Description

When a user turns off captions (CC) mid-meeting and turns them back on, TranscripTonic stops capturing any subsequent transcript. The downloaded transcript only contains content up to the moment captions were turned off — everything spoken after re-enabling CC is lost.

Steps to reproduce

  1. Start a Google Meet call with TranscripTonic active.
  2. With CC on, have a few sentences captioned and captured.
  3. Click the CC icon to turn captions off.
  4. Wait a few seconds, then click CC again to turn captions back on.
  5. Speak some more sentences. They appear in Meet captions normally.
  6. End the meeting and download the transcript.

Expected: transcript includes content from before AND after the CC toggle.
Actual: transcript only includes content up to the moment captions were turned off.

Environment

  • Extension version: 3.3.4
  • Browser: Chrome (current stable)
  • Meeting software: Google Meet (post Jul/Aug 2024 UI)

Root cause

The transcript MutationObserver is attached once to div[role="region"][tabindex="0"] (extension/content-google-meet.js:191). The inline comment assumes this element persists regardless of CC on/off, but in the current Meet DOM the region node is detached/replaced when the user toggles captions. The observer is then left on the orphan node and never receives mutations from the newly-rendered region, so captures stop until the page is reloaded.

Proposed fix

Periodically check whether the observed region node is still connected and still equals the current selector result; if not, flush the in-flight buffer and re-attach the observer. Follow-up PR incoming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions