obsproject / obsproject/obs-studio
Shutdown source when not visible option is not working in Studio Mode
Nobody has claimed this yet.
- 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
- 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.
- Select "Shutdown source when not visible" in the properties of the Browser source.
- 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).
- Now do the same in Studio mode and you will see the page has not unloaded. This is the bug.
Additional information
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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