You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
frontend: free-disk-space checks run on the UI thread and can freeze on a hung network path #1282
frontend/widgets/OBSBasic_Recording.cpp.hpp:168: a 1 s timer while recording → CheckDiskSpaceRemaining → os_get_free_disk_space(path) (statvfs / GetDiskFreeSpaceEx).
frontend/dialogs/OBSBasicStats.cpp.hpp:312: the same every 2 s while the stats window is visible.
That's cheap on a local disk, but on a recording path on a hung network share or NAS each call can block for seconds and freeze the UI.
Fix: query free space on a worker thread (or the existing stats thread), publish the last value, and have the UI only read it, with a timeout or "unknown" state when a query is still in flight.
Test: with an injected free-space function that blocks, the UI-side tick returns immediately and shows the last known or unknown value.
Claiming. Plan: query free disk space off the UI thread (a worker that publishes the last value with its time), and have the recording timer and the stats window only read the cached value, showing unknown while no fresh value exists. RED: with an injected free-space function that blocks, the UI-side tick must return immediately.
Activity
zackees commentedon Oct 17, 2026
Claiming. Plan: query free disk space off the UI thread (a worker that publishes the last value with its time), and have the recording timer and the stats window only read the cached value, showing unknown while no fresh value exists. RED: with an injected free-space function that blocks, the UI-side tick must return immediately.
docs: Features ledger line for the free-space check off the UI thread (…
test: Free disk space queries must not block the caller (#1282)
frontend: Free disk space is queried off the UI thread (#1282)
docs: Features ledger line for the free-space check off the UI thread (…
frontend: Free disk space is queried off the UI thread (obs-rust#1282) (
zackees commentedon Oct 23, 2026
Fixed by #1336 (merged). That PR used
Refs, so the issue stayed open, but its body lists no remaining work.