Skip to content

[Bug]: Severe UI lag and stuttering after stopping recording on macOS (M1) #502

@CarlosGGGGGG

Description

@CarlosGGGGGG

Search existing issues

  • I have searched the existing issues

Describe the bug

I'm experiencing significant performance issues when using OpenScreen on a MacBook with Apple Silicon (M1).

Recording itself appears to work fine, but as soon as I stop the recording, the application becomes very laggy and almost unusable.

Observed behavior:

  • Immediately after clicking "stop", the app starts lagging
  • When the editor view opens:
    -- Playback is extremely choppy (timeline jumps forward in seconds)
  • UI interactions (clicks, key presses) are delayed
  • Holding any key causes noticeable lag
  • The entire app feels like it's freezing intermittently

Important notes:

  • During recording, system performance is normal
  • CPU usage is NOT maxed out
  • macOS itself remains responsive (no system-wide lag)
  • The issue seems isolated to OpenScreen’s internal processing/editor

Environment:

  • Device: MacBook (Apple Silicon M1)
  • macOS: Tahoe 26.4.1 (25E253)
  • OpenScreen version: 1.3.0

Expected behavior

  • Smooth transition after stopping recording
  • Responsive editor UI
  • Smooth playback of the recorded clip

To Reproduce

  1. Start a screen recording
  2. Record for ~1–2 minutes (normal desktop usage: typing, switching browser tabs, etc.)
  3. Click the stop button in the toolbar

Screenshots

No response

OS

None

OS Version

MacBook (Apple Silicon M1) Tahoe 26.4.1 (25E253)

Other OS

No response

Browser

None

Browser Version

No response

Other Browser

No response

Device Type

Laptop

Other Device

No response

Additional context

It seems the lag starts during post-processing or when loading the editor (possibly encoding, timeline generation, or preview rendering). The issue is reproducible even with short recordings (~1–2 minutes).

Let me know if logs or screen recordings would help diagnose this further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions