obs-websocket icon indicating copy to clipboard operation
obs-websocket copied to clipboard

Bug: Turning off Studio Mode sends 2 CurrentProgramSceneChanged events

Open peddermaster2 opened this issue 2 years ago • 2 comments

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

Other

OBS Studio Version (Other)

29.1.3

obs-websocket Version

5.2.3

OBS Studio Log URL

https://obsproject.com/logs/7mL2eIM9uJ3bawbO

OBS Studio Crash Log URL

No response

Expected Behavior

No CurrentProgramSceneChanged event is emitted, as the scene is not changing.

Current Behavior

Two CurrentProgramSceneChanged events are emitted:

  • changing the scene to the current preview scene
  • immediatly followed by the second changing it back to the current program scene
  • followed by the expected StudioModeStateChanged event

Steps to Reproduce

  1. Enable Studio Mode
  2. Select two differen scenes for program and preview
  3. Disable Studio Mode
  4. Observe the events send via websocket

Anything else we should know?

No response

peddermaster2 avatar Jun 25 '23 07:06 peddermaster2

I'm seeing the same issue on my end, in the same OBS version. Even just toggling Studio Mode on and off again sends two On Scene Change events for the current program scene.

Zarithya avatar Sep 20 '23 06:09 Zarithya