obsproject / obsproject/obs-studio

Shutdown source when not visible option is not working in Studio Mode

Open
#4,120 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

issue/confirmed
Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Platform

Operating system and version: Windows 10 Pro 64bit
OBS Studio version: 26.1.1 (64bit)

Expected Behavior

Unloads the page when the source is no longer visible (by clicking the eye icon to hide, or not in the active scene).

Current Behavior

The page does not unload in Studio Mode. It will get invisible but once you make it visible again the page still has it's old state.

Steps to Reproduce

  1. Add a Browser source that locally changes over time, such as a simple counter. I've made a simple counter here: https://codepen.io/Bob-ber/pen/WNGBRXQ . You can copy paste this in a .html file to test.
  2. Select "Shutdown source when not visible" in the properties of the Browser source.
  3. In normal mode (not Studio mode), click the eye icon to hide it and then again to make it visible and see if the page has unloaded (refreshed).
  4. Now do the same in Studio mode and you will see the page has not unloaded. This is the bug.

Additional information

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with a Browser source using the linked counter example or a local HTML file, first in normal mode and then in Studio Mode. Trace the Browser source visibility and shutdown behavior in Studio Mode; done means hiding and re-showing the source unloads or refreshes the page as it does in normal mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.