Skip to content

decision: The beta shares its config dir and app identity with upstream OBS #632

Closed

Description

@zackees

For the maintainer to decide; #613 currently keeps these on purpose.

  • Linux: config is in ~/.config/obs-studio (frontend/OBSApp.cpp:449-498), the app ID is com.obsproject.Studio (OBSApp.cpp:1020), and the desktop file has Name=OBS Studio, Exec=obs.
  • macOS: the bundle ID is com.obsproject.obs-studio, which means a shared app-support directory and shared TCC (camera, microphone, screen) grants.
  • Windows: %APPDATA%\obs-studio.

Risk: if a beta writes scene or profile data, global.ini or user.ini, a real OBS install on the same machine reads it. Wayland global shortcuts are also stored under the same app ID. I haven't tested whether the two apps tolerate each other's files.

Options:

  • A separate obs-studio-rust directory, with migration on first run.
  • Or keep it shared, but back up the config and warn on first launch.

Activity

  1. zackees commented on Oct 13, 2026

    @zackees
    MemberAuthor

    Decision: use a separate obs-studio-rust config directory and app identity, with migration on first run. The maintainer selected this option during the #635 repair work. Migration must preserve the upstream configuration and existing Rust configuration; platform app IDs, desktop identity, and macOS bundle identity must also be distinct.

  2. zackees commented on Oct 14, 2026

    @zackees
    MemberAuthor

    Claiming #632, following the maintainer decision: separate obs-studio-rust configuration and app identity, with first-run migration.

    1. Inventory frontend paths, independently configured Locations roots, platform/desktop/bundle/single-instance identity and installed package paths. Commit genuine RED tests for isolation and migration preserving upstream and existing Rust data.
    2. Implement first-run import into isolated Rust storage, preserving originals and existing Rust settings, including custom configuration/profile/scene/plugin-manager locations. Keep public libobs C API/ABI and websocket protocol unchanged.
    3. Update packaged saved-profile fixtures and exercise actual migration/isolation through the packaged frontend, including the current sources and platform identities. Run required local gates/review and native/package validation before merge; no new workflow files. First PR expected today.
  3. added
    claimed
    on Oct 14, 2026
  4. zackees commented on Oct 14, 2026

    @zackees
    MemberAuthor

    Progress on the requested separate identity with first-run migration:

    • RED 06a5c4392 compiles the actual frontend config-path functions for upstream and Rust identities; the Rust installed/portable cases fail against shared paths (six failures). C-only paths remain a compatibility check.
    • RED 658731f70 adds an executable migration contract; first run, absent source, custom roots, empty custom roots and finalization failure fail against stubs. Existing Rust config is preserved.
    • Local GREEN e1346adbf passes the focused tests: frontend config paths use obs-studio-rust; direct profile/scene/theme/plugin-manager paths use the same identity. First-run migration copies into a staging directory, resolves the four independently configured Locations roots, rewrites Locations only in the copy, and publishes it after successful finalization. A frontend migration lock prevents concurrent imports. Original settings are not modified and existing Rust settings are not imported over.

    This is not complete or pushed yet. Remaining work includes Linux/Windows instance identity, installed desktop/bundle identity and paths, native/package fixtures exercising real first-run migration (including custom roots), and full validation. The existing obs-studio-rust binary is a websocket CLI, so the GUI executable identity must not overwrite that CLI.

  5. 7 remaining items

  6. removed
    claimed
    on Oct 14, 2026
  7. zackees commented on Oct 14, 2026

    @zackees
    MemberAuthor

    Completed by merged #706 (merge 67465d2). Exact-head native package validation run 38548618373 passed all five native builds, Windows x64/ARM64 and macOS Intel/ARM64 config modes, all four AppImage distributions and recording checks. Merge-result CI 38552359057 passed before the queue merged it. Separate app/config identity and first-run copy preserve upstream settings, existing Rust settings and four selected storage roots. Native device frames/TCC grants and notarization without credentials are not claimed. The earlier Intel shutdown timeout did not recur; no root-cause or leak fix is claimed. Continuing #625/#627 under #635.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions